java.lang.ClassNotFoundException: javax.sql.Datasource

cayenne-user | Michael Gentry | 3 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Re: How to use JNDI in development

    cayenne-user | 3 years ago | Michael Gentry
    java.lang.ClassNotFoundException: javax.sql.Datasource
  2. 0

    Re: How to use JNDI in development

    cayenne-user | 3 years ago | D Tim Cummings
    java.lang.ClassNotFoundException: javax.sql.Datasource
  3. 0
    samebug tip
    jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: How to use JNDI in development

    cayenne-user | 3 years ago | D Tim Cummings
    java.lang.ClassNotFoundException: javax.sql.Datasource
  6. 0

    FE Doesnt Load Properly

    GitHub | 4 years ago | rootbear75
    java.lang.ClassNotFoundException: com.ForgeEssentials.coremod.FEPreLoader

  1. eti22 1 times, last 2 months ago
  2. treefolk 4 times, last 4 months ago
  3. jstrayer 1 times, last 7 months ago
  4. Justin 1 times, last 8 months ago
87 unregistered visitors
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.ClassNotFoundException

    javax.sql.Datasource

    at java.net.URLClassLoader$1.run()
  2. Java RT
    URLClassLoader.findClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    4 frames
  3. Jetty
    PlusDescriptorProcessor.visitResourceRef
    1. org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:415)
    2. org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:377)
    3. org.eclipse.jetty.server.handler.ContextHandler.loadClass(ContextHandler.java:1323)
    4. org.eclipse.jetty.plus.webapp.PlusDescriptorProcessor.visitResourceRef(PlusDescriptorProcessor.java:245)
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  5. Jetty
    WebAppContext.doStart
    1. org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(IterativeDescriptorProcessor.java:80)
    2. org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process(IterativeDescriptorProcessor.java:67)
    3. org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:321)
    4. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1211)
    5. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:589)
    6. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:454)
    6 frames
  6. Jetty :: Jetty Maven Plugin
    JettyWebAppContext.doStart
    1. org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:219)
    1 frame
  7. Jetty
    Server.doStart
    1. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    2. org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
    3. org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
    4. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    5. org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
    6. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    7. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:89)
    8. org.eclipse.jetty.server.Server.doStart(Server.java:261)
    8 frames
  8. Jetty :: Jetty Maven Plugin
    JettyServer.doStart
    1. org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:67)
    1 frame
  9. Jetty
    AbstractLifeCycle.start
    1. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
    1 frame
  10. Jetty :: Jetty Maven Plugin
    JettyRunMojo.execute
    1. org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:333)
    2. org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:273)
    3. org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:548)
    3 frames
  11. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
    1 frame
  12. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    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:317)
    9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
    9 frames
  13. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
    3 frames
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames