最近在做maven项目时候,报No compiler is provided in this environment. Perhaps you are running on a JRE rather than JDK,

经过查看发现没有使用jdk造成的,下面是解决办法:

在eclipse中

 Window > Preferences > Java > Installed JREs

点击Search 选择安装的JDK目录

maven No compiler is provided in this environment. Perhaps you are running on a JRE rather than JDK

 

相关文章:

  • 2021-04-01
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2021-10-17
  • 2021-10-02
相关资源
相似解决方案