Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project autotest_fchtgl: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
错误可以参考
https://liuyanzhao.com/5743.html
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
错误可以参考
https://liuyanzhao.com/5743.html
2017-08-09
关于有的同学不能建立src/main/java、src/test/java文件夹,是因为已经在项目中存在这两个文件夹了,
只要选中项目,
右键build path -> configure build path -> source ,选择 src/main/java、src/test/java删除,然后再新建就可以了。
只要选中项目,
右键build path -> configure build path -> source ,选择 src/main/java、src/test/java删除,然后再新建就可以了。
2017-08-05
已采纳回答 / 慕粉13718507713
不用管,直接去配置参数就行,-Dmaven.multiModuleProjectDirectory=$M2_HOME,配置好一切就正常了,compile和package都能正常运行,希望能帮到你
2017-08-05