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,556,498
Community Members
 
Community Events
184
Community Groups

Maven Executing JDK 10 build

I have a very simple maven project, with some source files in src/main/java and some test classes in src/test/java.

Running mvn clean package on my local PC or running it on the bamboo server (in another user space) is working without any problems.

When I let my Bamboo server execute this task, it compiles the source classes just fine (default-compile) but when it gets to the test classes (test-compile), it cant find the dependent classes from the "normal" classes (Cannot find symbol).

I compared the log output (mvn -X) from a working build with the failing one and couldn't find anything that might trigger the failure.

Any ideas or hints?

Bamboo version is 5.9.7
Maven compiler plugin version is 3.8.0 with release set to 10

1 answer

Simon says:

"

Are the dependent classes compiled with a JDK version 10 or a different one? This is a common behavior when dependencies in class format are located in JAR files that have been produced by a different version of the JDK.

"

Simon out.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events