• idea版本:2020.3
  • idea 报错:在查阅了资料以后发现是IDEA2020的兼容问题

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project sms: Command execution failed.

  • 解决方法:
  1. 测试不要用main方法测试,使用junit测试
  2. 更换版本至IDEA2017
  3. File ->Settings -> Build, Execution, Deployment -> Build Tools -> Maven -> Runner
    取消将IDE生成/运行操作委托给Maven
    idea报错:Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on

相关文章:

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