Java 未能执行目标org.apache.maven.plugins:maven编译器plugin:3.8.1:testCompile

Java 未能执行目标org.apache.maven.plugins:maven编译器plugin:3.8.1:testCompile,java,spring,maven,intellij-idea,Java,Spring,Maven,Intellij Idea,当我运行intellij idea maven安装时,它遇到了如下问题 未能执行目标org.apache.maven.plugins:maven编译器plugin:3.8.1:testCompile 如何解决此问题?找到了一个解决方案,在pom.xml文件中,您的java版本可能不正确,就像您的verion版本较旧一样,请将其更新到当前环境版本,问题就解决了 enter code here <properties> <java.version>1.14</j

当我运行intellij idea maven安装时,它遇到了如下问题

未能执行目标org.apache.maven.plugins:maven编译器plugin:3.8.1:testCompile


如何解决此问题?

找到了一个解决方案,在pom.xml文件中,您的java版本可能不正确,就像您的verion版本较旧一样,请将其更新到当前环境版本,问题就解决了

enter code here
<properties>
    <java.version>1.14</java.version>
</properties>
在此处输入代码
1.14