报错ERROR: JAVA_HOME not found in your environment. Please set the JAVA_HOME variable in yo
注:需要在环境变量配置JAVA_HOME,只需要到上一季目录,不要写成bin目录了!!
Maven安装成功:
Maven 报错:Cannot resolve plugin org.apache.maven.plugins:maven-resources-plugin:2.6
解决:
将idea maven替换成本地的最后刷新maven
错误:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project C10.2: Compilation failure
解决方法:pom.xml中设置jdk版本为11