试了很多权限都不行,如
目前的情况是可以登录tomcat的manger页面,但是maven部署的链接是
http://localhost:8080/manager/html/deploy?path=%2Fmyweb
对于http://localhost:8080/manager/html/deploy这个链接的访问就会报403 错误。
请问该怎么设置呢?先谢谢了。
弄了一天了,我想哭。。。
tomcat-users.xml:
<role rolename="manager"/>
<role rolename="admin"/>
<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user username = "admin" password = "123456" roles = "admin,manager,manager-gui,manager-script"/>
pom.xml:
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<url>http://localhost:8080/manager/html</url>
<username>admin</username>
<password>123456</password>
<path>/${project.artifactId}</path>
</configuration>
</plugin>
唉,没有解决,以后有时间再慢慢研究。