tomcat - java.lang.IllegalArgumentException: Document base [...]org.eclipse.wst.server.core\tmp0\wtpwebapps[...] does not exist or is not a readable directory -
i getting exception in eclipse-jee-kepler-sr1-win32
java.lang.illegalargumentexception: document base c:\users\praveen\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\advanced java not exist or not readable directory @ org.apache.naming.resources.filedircontext.setdocbase(filedircontext.java:138) @ org.apache.catalina.core.standardcontext.resourcesstart(standardcontext.java:5077) @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5257) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1559) @ org.apache.catalina.core.containerbase$startchild.call(containerbase.java:1549) @ java.util.concurrent.futuretask.run(unknown source) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) @ java.lang.thread.run(unknown source)
how can solve it?
the issues might come jdk series. experienced same issues in pc win32 bit , win64 bit. issues solved when tried downgrade jdk (jre) series 8 7. think may need these steps;
check tomcat version, if using tomcat 7 series may need jre 7 series , below.
just download jre kit here; http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html
change server preferences tomcat 7. check!
restart eclipse. (i recommend use luna. more stable.)
good luck !
Comments
Post a Comment