java.lang.IllegalArgumentException: Document base /usr/share/tomcat7-examples/examples 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

Samebug tips

,

Thrown to indicate that a method has been passed an illegal or inappropriate argument. In this instance, delete your Tomcat server instance, remove all it's related modules and start adding it all over again.

Solutions on the web

via Google Groups by deech, 1 year ago
Document base /usr/share/tomcat7-examples/examples does not exist or is not a readable directory
via atlassian.com by Unknown author, 1 year ago
Document base /www_apps/tomcat/wwrvls02/webapps/manager does not exist or is not a readable directory
via Coderanch by Jay Tai, 1 year ago
Document base C:\murach\extract\servlet_jsp\netbeans\ex_starts\ch07email\build\web does not exist or is not a readable directory
via Stack Overflow by ekremk
, 2 years ago
Document base /home/ekcdr/NetBeansProjects/d1/target/d1-1.0-SNAPSHOT does not exist or is not a readable directory
via nabble.com by Unknown author, 2 years ago
Document base D:\Documents\programs - java\Web Apps\JavaServletsTutorial\build\web does not exist or is not a readable directory
via com.br by Unknown author, 1 year ago
Document base C:\Users\Karina\Documents\NetBeansProjects\TrabalhoEmail_1\build\web does not exist or is not a readable directory
java.lang.IllegalArgumentException: Document base /usr/share/tomcat7-examples/examples does not exist or is not a readable directory
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4894)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5074)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:895)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:871)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)

Users with the same issue

3 times, 2 weeks ago
Once, 3 weeks ago
13 times, 7 months ago
2 times, 7 months ago
2 times, 11 months ago

Write tip

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