运行报错:“tomcat” .....You must specify

运行报错:“tomcat” .....You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>

项目----右键----Run Configurations----Maven Build    选择要运行的项目,在Goals中:clean tomcat:run -Dmaven.tomcat.port=808~.再次运行即可。

2014年

猜你喜欢

转载自blog.csdn.net/sinat_36831355/article/details/83105955