Link: http://liuming690452074.blog.163.com/blog/static/113675734201001031320517/
Tomcat exception: Java. Lang. illegalargumentexception: document base
Some recently started Tomcat users may encounter problems. Why do you still throw such exceptions when moving a web application down from webapps under tomcat?
Java. Lang. illegalargumentexception: document base *** does not exist or is not a readable
Directory
At org. Apache. Naming. Resources. filedircontext. setdocbase (filedircontext. Java: 141)
At org. Apache. Catalina. Core. standardcontext. resourcesstart (standardcontext. Java: 3957)
At org. Apache. Catalina. Core. standardcontext. Start (standardcontext. Java: 4126)
At org. Apache. Catalina. Core. containerbase. addchildinternal (containerbase. Java: 791)
********
.................
In fact, this problem is very simple. One Tomcat application is not just that folder...
The detailed operation should be as follows:
Confirm 3:
1. The war file of this project is removed from *** \ apache-Tomcat-6.0.16 \ webapps;
2. Some configurations of this project are removed from *** APACHE-Tomcat-6.0.16 \ work \ Catalina \ localhost;
3. The configuration file of the project, directory: *** \ apache-Tomcat-6.0.16 \ conf \ Catalina \ localhost removed.
Or use another server, which is provided by myeclipse .....