maven-install:出错,在jdk配置:

-Dmaven.multiModuleProjectDirectory=$M2_HOME,如下图:

maven-install出错--解决

注意:一定要在jdk配置,一定要在jdk配置,一定要在jdk配置。这样maven才能install成功,如果是选择jre它会提示你:

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

相关文章:

  • 2021-07-08
  • 2022-01-06
  • 2021-04-28
  • 2021-11-17
  • 2022-12-23
  • 2021-05-30
  • 2021-12-25
  • 2021-09-23
猜你喜欢
  • 2021-09-21
  • 2021-05-04
  • 2021-12-11
  • 2022-12-23
  • 2021-05-23
  • 2021-09-01
  • 2021-09-30
相关资源
相似解决方案