![]() After installing it, I started getting compilation errors COMPILATION ERROR : ![]() Library/Java/JavaVirtualMachines/jdk1.8.0_333.jdk/Contents/HomeĪs pointed out I needed java 17. Java version: 1.8.0_333, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_333.jdk/Contents/Home/jreĭefault locale: en_US, platform encoding: UTF-8 Maven home: /Users/myuser/tools/apache-maven-3.8.6 Java(TM) SE Runtime Environment (build 1.8.0_333-b02) For more information about the errors and possible solutions, please read the following articles:Įverything I can find on Google similar to this error points to the mismatch of java version used by maven, but this is not the case $ java -version Re-run Maven using the -X switch to enable full debug logging. To see the full stack trace of the errors, re-run Maven with the -e switch. Failed to execute goal :maven-compiler-plugin:3.10.1:compile (default-compile) on project myproject: Fatal error compiling: invalid target release: 17 -> Compiling 1 source file to /Users/dnatochy/development/springboot/testapp1/target/classes Changes detected - recompiling the module! maven-compiler-plugin:3.10.1:compile (default-compile) myproject. skip non existing resourceDirectory /Users/dnatochy/development/springboot/testapp1/src/main/resources ![]() Using 'UTF-8' encoding to copy filtered properties files. Using 'UTF-8' encoding to copy filtered resources. maven-resources-plugin:3.2.0:resources (default-resources) myproject. > spring-boot-maven-plugin:3.0.0-SNAPSHOT:run (default-cli) > test-compile myproject > Just going through spring-boot tutorial and getting stuck on step 4.4.4 executing $ mvn spring-boot:run
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |