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,560,262
Community Members
 
Community Events
185
Community Groups

Build failure because of "class file has wrong version 52.0, should be 49.0

Edited

Bamboo build failing because of the error "class file has wrong version 52.0, should be 49.0

If the compiler version has to be changed to the latest, how can we do that.pom.PNG

This is the pom that I am currently using.

1 answer

Simon says:

' Your maven configuration is set to compile for Java 1.8 while your compiler is 1.5 (class file version 49.0)

Make sure you have the correct compiler version installed on your system (1.8 since you want to compile with it) and set your JAVA_HOME to point to the JDK1.8. When your settings are correct, running the command:

javac

in a terminal should result in the output for Java 1.8 and your maven build should work fine.

I hope this helps.'

Simon out.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events