Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,700
Community Members
 
Community Events
176
Community Groups

atlas-create-jira-plugin throws error

When I run "C:\git>atlas-create-jira-plugin" and fill in the group-id and other stuff the script throws an error

 

[WARNING] CP Don't override file C:\git\gmlu.worklog\src\main\resources\META-INF
[WARNING] CP Don't override file C:\git\gmlu.worklog\src\main\resources\META-INF\spring
[INFO] Executing META-INF/archetype-post-generate.groovy post-generation script
java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.lang.Object.finalize() throws java.lang.Throwable accessible: module java.base does not "opens java.lang" to unnamed module

 

 

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22:45 min
[INFO] Finished at: 2022-01-19T19:53:53+01:00
[INFO] ------------------------------------------------------------------------
[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
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-archetype-plugin:3.0.1

 

 

All fresh installed on my machine.

1 answer

I guess this is the problem:

Since JDK 16, the default for the --illegal-access option is deny, so “deep reflection” to JDK classes fails.

 

So I would have to use JDK8. But I need JDK17 for other reasons. So I guess Atlassian has to update they're environment from the stoneage forward to the current time. For now I uninstall the Atlassian SDK again and use another computer (has currently another error with java).

I have to say I hate Java Development... what a mess

Yeah, they need to do better with their developer resources; moreover, based on the direction of JIRA/JIRA Align, I wonder if their is still an open community culture to their products.

Like Andre Mühle likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events