-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update "How to build" docu #54
Comments
I have updated the DOCKER.md file with additional information to build using docker. If you don't have much maven experience then that may help but you will need to be able to install docker first and that can be more complex than installing java plus maven. Are you looking to just run the code or interested in understanding or making changes for yourself? |
Thank you for your response. I created a spring boot start thing, downloaded the .mvn folder, but when I type
|
Not sure you gave the complete error info but my first guess is that you are using an old java version. Check what the value of JAVA_HOME is. You need Java 17 or higher. |
I gave you the first error and part of the call stack. When I get home I'll
send you the entire thing.
I installed java 17 and made sure to set JAVA_HOME, else I wouldn't have
gotten this far :)
…On Fri, Apr 21, 2023, 16:05 dlmcpaul ***@***.***> wrote:
Not sure you gave the complete error info but my first guess is that you
are using an old java version.
Check what the value of JAVA_HOME is. You need Java 17 or higher.
—
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD2PAIYLWVJ5IUF3KQC5R3TXCMHB3ANCNFSM6AAAAAAXFY3PXY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Here is my entire output
|
java.lang.UnsupportedClassVersionError: org/springframework/boot/maven/BuildInfoMojo has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 So the above line says that the java compiler being used is Java 11 (Class files version 55) and you need Java 17 (Class files version 61). Because I am using spring boot 3 all the spring libraries have been built with Java 17. If JAVA_HOME is set to a Java 17 JDK maybe the path is set to a Java 11 version? |
Error between chair and keyboard it turns out. I had installed the wrong version of Java. It all works now. Thank you very much! |
It would be super helpful if you could update the
README.md
with the instructions on how to build/test/run this locally.Some people, like me, have never used springboot or maven, so it would be very helpful if you could give quick step by step instructions on how I can build and run this locally.
Thank you!
The text was updated successfully, but these errors were encountered: