java.lang.IllegalArgumentException: Document base /usr/share/tomcat/webapps/myapp does not exist or is not a readable directory

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via serverfault.com by Unknown author, 1 year ago
Document base /usr/share/tomcat/webapps/myapp does not exist or is not a readable directory
via Server Fault by user53864
, 1 year ago
Document base /usr/share/tomcat/webapps/myapp does not exist or is not a readable directory
via coderanch.com by Unknown author, 1 year ago
Document base /usr/local/tomcat/users/outerv2/tomcat/server/webapps/manager does not exist or is not a readable directory
via Coderanch by Axel Brown, 11 months ago
Document base /usr/local/tomcat/users/outerv2/tomcat/server/webapps/manager does not exist or is not a readable directory
via Oracle Community by 843838, 1 month ago
Document base C:\Tomcat\webapps\DBTest does not exist or is not a readable directory
via Oracle Community by 843829, 1 year ago
Document base /opt/tomcat/webapps/eprosys does not exist or is not a readable directory
java.lang.IllegalArgumentException: Document base /usr/share/tomcat/webapps/myapp does not exist or is not a readable directory
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.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
13 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.