Jira logs multiple FileNotFoundExceptions about missing JARs in common/lib

Description

To reproduce:

  1. Create a new Jira plugin using atlas-create-jira-plugin.

  2. Change into the newly created plugin directory.

  3. Execute mvn jira:run. Jira starts up but logs pages of errors like this one:

This entire log message is repeated for the following JARs:

  • classes12.jar

  • p6psy.jar

  • commons-cli.jar

  • jts1_0.jar

  • carol.jar

  • jonas_timer.jar

There's a KB article about this, but it's aimed at production instances, not instances spun up by AMPS.

There's a Community question about it, with no solutions given (apart from forcing Tomcat 7, which is not correct, since Jira 7.x uses Tomcat 8).

The log messages above are benign, but they:

  • potentially obscure genuine stack traces

  • give a bad impression to ecosystem developers

Environment

ATLAS Version: 6.3.10
ATLAS Home: /usr/local/Cellar/atlassian-plugin-sdk/6.2.14/libexec
ATLAS Scripts: /usr/local/Cellar/atlassian-plugin-sdk/6.2.14/libexec/bin
ATLAS Maven Home: /usr/local/Cellar/atlassian-plugin-sdk/6.2.14/libexec/apache-maven-3.2.1
AMPS Version: 6.3.15
--------
Executing: /usr/local/bin/mvn --version -gs /usr/local/Cellar/atlassian-plugin-sdk/6.2.14/libexec/apache-maven-3.2.1/conf/settings.xml
[MVNVM] Using maven: 3.3.9
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T03:41:47+11:00)
Maven home: /Users/aswan/.mvnvm/apache-maven-3.3.9
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre
Default locale: en_AU, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.3", arch: "x86_64", family: "mac"

Testing Notes

Add notes...

Assignee

Andrew S

Reporter

Andrew S

Labels

None

Add-on Type

Server

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Story point estimate

None

Story Points

4

Components

Fix versions

Affects versions

Priority

Minor
Configure