java.lang.IllegalArgumentException: Document base […]org.eclipse.wst.server.core\\tmp0\\wtpwebapps[…] does not exist or is not a readable directory

戏子无情 提交于 2019-11-28 14:34:15

The issues might come from the JDK series. I experienced the same issues in most pc with win32 bit and some win64 bit. The issues solved when I tried to downgrade the jdk (JRE) series from 8 to 7. I think you may need these steps;

  1. Check your Tomcat version, if you are using Tomcat 7 series you may need jre 7 series and below.

  2. Just download the jre kit from here; http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html

  3. Change the server preferences to Tomcat 7. ALWAYS CHECK!

  4. Restart Eclipse. (I recommend you to use Luna. Its much more stable.)

  5. Good luck !

Build the project again, regenerate the war file and add it to the web module.Sometimes the generated war file will be corrupted or will not reflect the new changes.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!