eclipse中使用maven的报错处理

xiaoxiao2021-02-28  27

1.执行maven install报错:

[ERROR] COMPILATION ERROR : 

[INFO] ------------------------------------------------------------- [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

[INFO] 1 error

解决

window-->preferences

这里的JRE要选择jdk里面的JRE

转载请注明原文地址: https://www.6miu.com/read-2621093.html

最新回复(0)