eclipse报错java.lang.IllegalArgumentException: Document base J:\code\.metadata\.plugins\org.eclipse.ws
2016-11-10 15:45
351 查看
eclipse报错:java.lang.IllegalArgumentException: Document base J:\code\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\springsession-test1 does not exist or is not a readable directory
找到这个目录下 ,并没有这个目录,springsession-test1
,这是之前写的一个,在发布一半的时候,出现错误tomcat无法启动,之后从tomcat中移除了。
再发布别的项目的时候还是会报这个错误,网上说法很多,跟我的情况不太一样,在这篇博客中找到了我的解决办法,
地址:http://chenzhou123520.iteye.com/blog/1828102
我的解决办法如下:
1.删除tmp0\conf\server.xml 中的 <Context> 报这个错误的节点;
2.删除 tmp0\work\Catalina\localhost 下的所有文件夹;
3.把Eclipse中把Tomcat删除然后再重新配置。
这样我的问题就解决了。
找到这个目录下 ,并没有这个目录,springsession-test1
,这是之前写的一个,在发布一半的时候,出现错误tomcat无法启动,之后从tomcat中移除了。
再发布别的项目的时候还是会报这个错误,网上说法很多,跟我的情况不太一样,在这篇博客中找到了我的解决办法,
地址:http://chenzhou123520.iteye.com/blog/1828102
我的解决办法如下:
1.删除tmp0\conf\server.xml 中的 <Context> 报这个错误的节点;
2.删除 tmp0\work\Catalina\localhost 下的所有文件夹;
3.把Eclipse中把Tomcat删除然后再重新配置。
这样我的问题就解决了。
相关文章推荐
- java.lang.IllegalArgumentException: Document base E:\Eclipse\workspace\.metadata\.plugins\org.eclips
- java.lang.IllegalArgumentException: Document base E:\Eclipse\workspace\.metadata\.plugins\org.eclips
- 启动tomcat 报 Could not delete D:/online/.metadata/.plugins/org.eclipse.wst.server.core/tm
- workspace\.metadata\.plugins\org.eclipse.wst.server.core
- Editor does not contain a main type ,.metadata\.plugins\org.eclipse.core.resources\.snap
- workspace\.metadata\.plugins\org.eclipse.wst.server.core
- Failed to load keystore type JKS with path tomcat.keystore due to D:/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tm
- workspace\.metadata\.plugins\org.eclipse.wst.server.core
- workspace\.metadata\.plugins\org.eclipse.wst.server.core
- IllegalArgumentException:.metadata.pluginsorg.eclipse.wst.server.core mp0wtpweb does not exist
- Failed to read candidate component class: file [F:\eclipse neon\.metadata\.plugins\org.eclipse.wst.s
- IllegalArgumentException:.metadata.pluginsorg.eclipse.wst.server.core mp0wtpweb does not exist
- Error starting static Resources workspace\.metadata\.plugins\org.eclipse.wst.server.co
- FAQ(65):java.io.FileNotFoundException: D:\java_ee_eclipse\mmb_workplace\.metadata\.plugins\org.eclip
- win10 pro eclipse maven: Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:mav invalid END header (bad central directory offset)
- Eclipse运行Applet没有显示图片,getCodeBase,getDocumentBase
- Applet类中getDocumentBase()和getCodeBase()的区别
- eclipse加载maven工程提示pom.xml无法解析org.apache.maven.plugins:maven-resources-plugin:2.4.3解决方案
- eclipse加载maven工程提示pom.xml无法解析org.apache.maven.plugins:maven-resources-plugin:2.4.3解决方案
- org.eclipse.jface.text.Document在这里