2 xhao327 xhao327 于 2017.08.27 20:46 提问

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

[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

Csdn user default icon
上传中...
上传图片
插入图片