不知道有没有人像我这样,在pom配置了下面这段以后,apache
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<configuration>
<path>/</path>
<port>8090</port>
</configuration>
</plugin>
</plugins>tomcat
下一步右键maven build,写上clean tomcat:run以后,发现启动的端口并非配置的端口8090,maven
而且路径也不是 / ,而是 Running war on http://localhost:8080/xxxx。ui
怎么search 8080 都没有,其实问题出在clean tomcat:run,改为clean tomcat7:run,OK,大家问题解决没有?io