java.lang.IllegalArgumentException: Document base D:\Workspace\Db\strutsandhibernte\src\main\webapp does not exist or is not a readable directory

Coderanch | sureshreddy govindu | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.IllegalArgumentException: Document base D:\Workspace\Db\strutsandhibernte\src\main\webapp

    Coderanch | 6 years ago | sureshreddy govindu
    java.lang.IllegalArgumentException: Document base D:\Workspace\Db\strutsandhibernte\src\main\webapp does not exist or is not a readable directory
  2. 0

    SEVERE: Error starting static Resources java.lang.IllegalArgumentException:

    Stack Overflow | 2 years ago
    java.lang.IllegalArgumentException: Document base D:\java\medicalpjct\SnapshotHealthApp\src\main\webapp does not exist or is not a readable directory
  3. 0

    org.apache.catalina.core.StandardContext resourcesStart SEVERE: Error starting static Resources(while deploying on tomcat 6)

    Stack Overflow | 2 years ago
    java.lang.IllegalArgumentException: Document base D:\java\medicalpjct\SnapshotHealthApp\src\main\webapp does not exist or is not a readable directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    vraptor-plugin-hibernate4 - problemas ao utilizar com maven

    Google Groups | 5 years ago | Fábio do Carmo Gomes
    java.lang.IllegalArgumentException: Document base C:\dev\workspaces\eclipseJuno\ AtualizacaoCadastral\src\main\webapp does not exist or is not a readable directo ry
  6. 0

    [jira] [Commented] (MTOMCAT-194) Odd error message in switching from Codehaus to Maven Tomcat6 plugin

    tomcat-dev | 4 years ago | Konstantin Kolinko (JIRA)
    java.lang.IllegalArgumentException: Document base /media/work1/opensource/testrest/target/${project.build.finalName does not exist or is not a readable directory
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Document base D:\Workspace\Db\strutsandhibernte\src\main\webapp does not exist or is not a readable directory

    at org.apache.naming.resources.FileDirContext.setDocBase()
  2. Web Container Naming Utilities
    FileDirContext.setDocBase
    1. org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:142)
    1 frame
  3. Glassfish Core
    Embedded.start
    1. org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4249)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4418)
    3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    4. org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    6. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
    7. org.apache.catalina.startup.Embedded.start(Embedded.java:825)
    7 frames
  4. org.codehaus.mojo
    AbstractRunMojo.execute
    1. org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
    2. org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
    2 frames
  5. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
    1 frame
  6. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    9 frames
  7. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    3 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  9. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    4 frames