Dear Community,
I need to check compatibily of our app with the new Jira Software Data Center 10.0.1. I tried to install it in two ways: Manual Installation via zip file and via SDK 8.2.7. I wasn’t successfull in both ways.
- Manual Installation via zip file (Java 17 set as Java_Home, I only connect it with mssql db - test connection was fine, not added any plugins):
- Exception: *
JIRA-Bootstrap ERROR [c.a.jira.startup.ComponentContainerLauncher] An Error occurred during ComponentContainerLauncher servlet context initialisation - com/atlassian/jira/plugin/userformat/configuration/PropertySetBackedUserFormatTypeConfiguration$UserFormatMappingSupplier. java.lang.NoClassDefFoundError: com/atlassian/jira/plugin/userformat/configuration/PropertySetBackedUserFormatTypeConfiguration$UserFormatMappingSupplier at com.atlassian.jira.plugin.userformat.configuration.PropertySetBackedUserFormatTypeConfiguration.<init>(PropertySetBackedUserFormatTypeConfiguration.java:28) at com.atlassian.jira.plugin.userformat.configuration.PluginsAwareUserFormatTypeConfiguration.<init>(PluginsAwareUserFormatTypeConfiguration.java:24)
- SDK SDK 8.2.7 (Java 17 attempt, jdk-21.0.4 attempt):
Exception during creation of Jira Plugin (atlas-create-jira-plugin)
[ERROR] Failed to execute goal com.atlassian.maven.plugins:jira-maven-plugin:8.1.2:create (default-cli) on project standalone-pom: Unable to execute mojo: Execution null of goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate: java.lang.ExceptionInInitializerError: null
Could some of you give me any hint how to solve minimally one of the exception? I really appreciate it, because I have no other ideas how get over it. Thanks a lot!
Tomas
@JonathanAlley Hi Jonathan,
thanks a lot for your advice. But unfortunately problem still last. During creation of plugin (via atlas-create-jira-plugin) I got this error:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.820 s
[INFO] Finished at: 2024-09-16T10:31:13+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:jira-maven-plugin:9.1.1:create (default-cli) on project standalone-pom: Execution default-cli of goal com.atlassian.maven.plugins:jira-maven-plugin:9.1.1:create failed: Plugin com.atlassian.maven.plugins:jira-maven-plugin:9.1.1 or one of its dependencies could not be resolved:
[ERROR]
[ERROR]
[ERROR] → [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] PluginResolutionException - Apache Maven - Apache Software Foundation
SDK should be installed in the right way:
ATLAS Version: 9.1.1
ATLAS Home: C:.…\atlassian-plugin-sdk
ATLAS Scripts: C:.…\atlassian-plugin-sdk\bin
ATLAS Maven Home: C:.…\atlassian-plugin-sdk\apache-maven-3.9.8
AMPS Version: 9.1.1
Executing: “C:.…\atlassian-plugin-sdk\apache-maven-3.9.8\bin\mvn.cmd” --version -gs C:\PS\atlassian-plugin-sdk\apache-maven-3.9.8/conf/settings.xml
Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
Maven home: C:.…\atlassian-plugin-sdk\apache-maven-3.9.8
Java version: 11.0.0.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-11.0.0.1
Default locale: en_US, platform encoding: Cp1252
OS name: “windows server 2016”, version: “10.0”, arch: “amd64”, family: “windows”
Do you have any idea how to solve this issue? Thanks a lot in advance.
Have a nice day.
Tomas
I don’t know for sure if this is the problem you are running into but it could be that not all the versions are compatible with each other. When I was working on adding Jira 10 support to the app that I maintain I ran across this post https://community.developer.atlassian.com/t/which-amps-version-to-use/80252/12 and based on the information there these are versions that I am currently using:
SDK: 9.0.2
AMPS: 8.17
Java: 17
2 Likes
Hi @JonathanAlley,
thanks a lot for your help! I switched the Java_Home to Java 17 and changed the AMPS in POM file to 8.17.0 and then Jira 10.0.1 is running smoothly.
Final solution for Windows Server 2019:
- SDK - atlassian-plugin-sdk-9.1.1.tar
- Java 17
- Maven - 3.9.8
- AMPS - 8.17.0
Thanks again!
Have a nice day.
Tomas
1 Like