我看到以下错误消息:
Could not find goal '' in plugin org.apache.tomcat.maven:tomcat7-maven-plugin:2.2
among available goals exec-war-only, deploy-only, redeploy-only, help, shutdown,
run-war-only, standalone-war-only, run, deploy, standalone-war,
undeploy, run-war, redeploy, exec-war 我找不到错误位置,那么如何避免这个错误呢?
发布于 2017-11-01 15:03:34
如in this question所示,这取决于您正在执行的mvn命令。
关于tomcat7-maven-plugin和its goals,例如,您需要执行
mvn tomcat7:deployNot tomcat7: deploy:额外的空格将触发错误消息Could not find goal '' in plugin ...
https://stackoverflow.com/questions/47047384
复制相似问题