java: Cannot start javac process
I'm using IntelliJ and when I try to build my Spring Boot project shows this message.
java: Cannot start javac process for loans: it is configured to use JDK 0, but IDE supports compilation using JDK 7 and newer only.
Consider associating the module with a supported JDK version. Note, that it is possible to keep the current Java language level to make produced *.class files compatible with Java 20 even when they are compiled by a newer compiler version.
On module settings is configured to use jdk-25, but on the console show that is configured to use JDK 0
Obs.: on pom.xml I'm using
<properties>
<java.version>25</java.version>
</properties>
java: Cannot start javac process for loans: it is configured to use JDK 0, but IDE supports compilation using JDK 7 and newer only.
Consider associating the module with a supported JDK version. Note, that it is possible to keep the current Java language level to make produced *.class files compatible with Java 20 even when they are compiled by a newer compiler version.
On module settings is configured to use jdk-25, but on the console show that is configured to use JDK 0
Obs.: on pom.xml I'm using
<properties>
<java.version>25</java.version>
</properties>