maven中使用tomcat插件启动,显示build success但无法继续启动的解决方法
在tomcat插件配置中加一行
<ignorePackaging>true</ignorePackaging>
告诉tomcat忽略是否有war包
<plugins> <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <configuration> <ignorePackaging>true</ignorePackaging> <port>8080</port> <path>/</path> </configuration> </plugin> </plugins>