浏览 2316 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2011-03-22
<build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>1.1</version> <configuration> <url>http://localhost:8080/manager</url> <username>tomcat</username> <password>tomcat</password> <path>/arm-0.0.1</path> </configuration> </plugin> </plugins> </build> 如果在 tomcat7.0部署项目的时候会报无法启动管理,需要改动如下(增加 /html): <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>1.1</version> <configuration> <url>http://localhost:8080/manager/html</url> <username>tomcat</username> <password>tomcat</password> <path>/arm-0.0.1</path> </configuration> </plugin> </plugins> </build> 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |