This exception is a common exception.
TomcatJava. Lang. illegalargumentexception: document base
Some ofTomcatThe problem that may occur to a friend who has already removed a web application fromTomcatWhy is this exception thrown when webapps is moved down?
?
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,TomcatAn application is not just that folder...
The detailed operation should be as follows:
Confirm 3:
1. The war file of this project is from *** \ apache-Tomcat-6.0.16 \ webapps Removal;
2. Some configurations of this project are from *** APACHE-Tomcat-6.0.16 \ work \ Catalina \ localhost removal;
3. configuration file of the project, directory: *** \ apache-Tomcat-6.0.16 \ conf \ Catalina \ localhost is removed.