digitalfondue / lavagna

Lavagna: issue tracker/project management tool
http://lavagna.io
GNU General Public License v3.0
635 stars 109 forks source link

Compiling with current JDK throws error #134

Closed nickbe closed 3 years ago

nickbe commented 4 years ago

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (java-compile) on project lavagna: Compilation failure [ERROR] X:\Workspace\GitHub-Systeme\lavagna\src\main\java\io\lavagna\service\ProjectService.java:[37,8] cannot access java.lang.Object [ERROR] bad class file: /modules/java.base/java/lang/Object.class [ERROR] class file has wrong version 58.0, should be 53.0 [ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.

So the question is exactly which JDK version was used to compile the project?

syjer commented 4 years ago

hi @nickbe ,

using sdkman, I'm using the following version:

$ sdk list java ... 8.0.242 | open | installed | 8.0.242-open

nickbe commented 4 years ago

Seems that this version for windows is not available for download anymore. Also from the Oracle site: https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html, i cannot locate any version number that seems to be the same.

syjer commented 4 years ago

@nickbe , you can download from:

nickbe commented 4 years ago

Success 😁 Thanks a lot !

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.