不知道有沒有人像我這樣,在pom配置了下面這段之后,
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<configuration>
<path>/</path>
<port>8090</port>
</configuration>
</plugin>
</plugins>
下一步右鍵maven build,寫上clean tomcat:run之后,發現啟動的端口並不是配置的端口8090,
並且路徑也不是 / ,而是 Running war on http://localhost:8080/xxxx。
怎么search 8080 都沒有,其實問題出在clean tomcat:run,改成clean tomcat7:run,OK,你們問題解決沒有?
