如何通过 tomcat7 maven 插件启动本地存在的 tomcat 服务器...如何在 tomcat 插件中提供本地 tomcat 服务器的源,以便如果我们给出 tomcat7:run 命令...本地服务器将自动运行.
问问题
188 次
1 回答
0
您必须url
在插件配置中提供。
请注意,对于 Tomcat 8 实例(我没有在早期的 Tomcat 版本中测试过),您需要domain:port/manager/text
<plugins>
..
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<url>http://localhost:8080/manager/text</url>
<path>/examplePath</path>
</configuration>
</plugin>
..
</plugins>
于 2016-04-27T10:44:58.113 回答