简体   繁体   中英

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile

When I run the intellij idea maven install, it got the issue as this

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile

how to resolve it?

Found an solution, in the pom.xml file, your java version might not be correct, it is like your verion is older, update it to the current environment version, the issue is resolved

enter code here
<properties>
    <java.version>1.14</java.version>
</properties>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM