Eclipse 和Tomcat开发环境如下,报下错误的解决方法:

!ENTRY com.sysdeo.eclipse.tomcat 4 4 2009-03-31 11:23:42.281
!MESSAGE java.lang.Exception: The following url was used :
http://localhost:8080/manager/reload?path=/wap

Check manager app settings (username and password) 

 解决方法如下:

1.配置TomCAT的用户名和密码。配置是:conf/tomcat-users.xml。配置内容如下:

 <user username="admin" password="admin" roles="manager,admin"/>

 

2.在Eclipse中配置 Tomcat Manager App 。配置如下图所示:

 
!MESSAGE java.lang.Exception: The following url was used
 3.重新发布web project。上述错误没有出现。问题解决了。

相关文章: