Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Maven error - invalid source release: 8

$
0
0

I have a new, empty module which I'm trying to configure to use Maven (there are no dependencies yet).

 

I have Maven configured for targeting Java 8 and while this does correctly set the module language settings to 1.8, the Maven compilation still fails.

pom-snippet.png

 

Note that the logging seems to indicate that it's using Java 7 for running Maven.

 

error.png

I have already set the Maven Runner to use my 1.8 SDK. Am I missing something else, or is this a bug?

preferences.png

 

Compilation works fine if I switch the pom file to target 1.7.

 

Thanks!


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>