xhao327
xhao327
2017-08-27 12:46

maven错误:Could not find goal 'compile' in plugin

  • maven

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.258s
[INFO] Finished at: Sun Aug 27 20:30:18 CST 2017
[INFO] Final Memory: 6M/16M
[INFO] ------------------------------------------------------------------------
[ERROR] Could not find goal 'compile' in plugin org.codehaus.mojo:tomcat-maven-plugin:1.1 among available goals run-war-only, redeploy, roles, run-war, deploy-only, help, sessions, deploy, run, start, exploded, stop, inplace, reload, resources, shutdown, list, undeploy, info -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundException

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答