tomcat通过eclipse发布项目到webapp后  手动删除在webapp目录下的文件,启动tomcat时,会报出异常找不到那个删除的项目。

Document base D:\devTools\apache-tomcat-6.0.51\webapps\AppService does not exist or is not a readable directory

解决方法是(1)重新发布项目到webapp  

Document base D:\devTools\apache-tomcat-6.0.51\webapps\AppService does not exist or is not a readable directory

(2)在eclipse中先将项目从tomcat中移除,然后clean即可解决

Document base D:\devTools\apache-tomcat-6.0.51\webapps\AppService does not exist or is not a readable directory

(3)删除tomcat中的service.xml文件中多余的代码比如:<Context docBase="AppService" path="/AppService" reloadable="true" source="org.eclipse.jst.jee.server:AppService"/>

ps:具体原因待查明

相关文章:

  • 2021-11-25
  • 2022-02-19
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
猜你喜欢
  • 2021-10-29
  • 2021-06-13
  • 2021-06-24
  • 2021-07-28
  • 2022-12-23
  • 2021-08-02
  • 2021-05-26
相关资源
相似解决方案