java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource

hivmr.com | 4 months ago
  1. 0

    db:: 3.67::MessageUnable to set value of the property innerHTML: object is null or undefined/Message 3c

    hivmr.com | 4 months ago
    java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource
  2. 0

    Tomcat problem after the installation

    xplanner | 1 decade ago | *anonymous
    java.lang.ClassNotFoundException: org.apache.struts.util.PropertyMessageResource sFactory
  3. 0

    new to struts-probs initially

    Coderanch | 1 decade ago | Deepa Korecherla
    java.lang.ClassNotFoundException: org.apache.struts.util.PropertyMessageResou rcesFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to set different path in build.xml

    Stack Overflow | 5 years ago | Amit
    java.lang.NoClassDefFoundError: dowlibpkg/DowLib
  6. 0

    Exception java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource

    Stack Overflow | 2 years ago | megha
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'd' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'template' while setting bean property 'template'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'template' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'mysessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mysessionFactory' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.apache.commons.dbcp.BasicDataSource] for bean with name 'dataSource' defined in class path resource [applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.apache.commons.dbcp.BasicDataSource

  1. andyglick 2 times, last 4 days ago
  2. richard77 1 times, last 7 days ago
  3. musketyr 2 times, last 7 days ago
  4. michallos 2 times, last 7 days ago
  5. batwalrus76 2 times, last 1 week ago
67 more registered users
28 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

    org.apache.commons.dbcp.BasicDataSource

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    5 frames
  3. struts
    ActionServlet.init
    1. org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:207)
    2. org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:231)
    3. org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:1081)
    4. org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
    4 frames
  4. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:211)
    1 frame
  5. Glassfish Core
    StandardHost.addChild
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1019)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)
    5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
    6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    7 frames
  6. 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:324)
    4 frames
  7. Commons Modeler
    BaseModelMBean.invoke
    1. org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    1 frame
  8. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
    2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    2 frames
  9. Glassfish Core
    StandardContext.init
    1. org.apache.catalina.core.StandardContext.init(StandardContext.java:5412)
    1 frame
  10. 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:324)
    4 frames
  11. Commons Modeler
    BaseModelMBean.invoke
    1. org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
    1 frame
  12. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
    2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    2 frames
  13. org.jboss.web
    TomcatDeployer.performDeploy
    1. org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:286)
    2. org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:70)
    2 frames
  14. JBoss Application Server Server
    WebModule.startService
    1. org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:306)
    2. org.jboss.web.WebModule.startModule(WebModule.java:62)
    3. org.jboss.web.WebModule.startService(WebModule.java:40)
    3 frames
  15. JBoss Application Server System
    ServiceMBeanSupport.jbossInternalLifecycle
    1. org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
    2. org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
    2 frames
  16. 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:324)
    4 frames
  17. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    4. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    5. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    6. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    6 frames
  18. JBoss Application Server System
    ServiceController$ServiceProxy.invoke
    1. org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
    1 frame
  19. Unknown
    $Proxy17.start
    1. $Proxy17.start(Unknown Source)
    1 frame
  20. JBoss Application Server System
    ServiceController.start
    1. org.jboss.system.ServiceController.start(ServiceController.java:367)
    1 frame
  21. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  22. JBoss Application Server J2SE
    MBeanProxyExt.invoke
    1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    4. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    5. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    6. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    7. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    7 frames
  23. Unknown
    $Proxy31.start
    1. $Proxy31.start(Unknown Source)
    1 frame
  24. JBoss Application Server Server
    AbstractWebContainer.start
    1. org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:313)
    1 frame
  25. JBoss Application Server System JMX
    MainDeployer.deploy
    1. org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
    2. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
    3. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
    3 frames
  26. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  27. JBoss Application Server J2SE
    MBeanProxyExt.invoke
    1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    4. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    5. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    6. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    7. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    7 frames
  28. Unknown
    $Proxy7.deploy
    1. $Proxy7.deploy(Unknown Source)
    1 frame
  29. org.jboss.deployment
    AbstractDeploymentScanner.startService
    1. org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
    2. org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
    3. org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
    4. org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
    4 frames
  30. JBoss Application Server System
    ServiceMBeanSupport.jbossInternalLifecycle
    1. org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
    2. org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
    2 frames
  31. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  32. JBoss Application Server J2SE
    MBeanServerImpl.invoke
    1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    4. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    5. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    6. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    6 frames
  33. JBoss Application Server System
    ServiceController$ServiceProxy.invoke
    1. org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
    1 frame
  34. Unknown
    $Proxy0.start
    1. $Proxy0.start(Unknown Source)
    1 frame
  35. JBoss Application Server System
    ServiceController.start
    1. org.jboss.system.ServiceController.start(ServiceController.java:367)
    1 frame
  36. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  37. JBoss Application Server J2SE
    MBeanProxyExt.invoke
    1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    4. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    5. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    6. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    7. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    7 frames
  38. Unknown
    $Proxy4.start
    1. $Proxy4.start(Unknown Source)
    1 frame
  39. JBoss Application Server System JMX
    MainDeployer.deploy
    1. org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
    2. org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
    3. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
    4. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
    5. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:592)
    5 frames
  40. 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:324)
    4 frames
  41. JBoss Application Server J2SE
    MBeanProxyExt.invoke
    1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
    3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
    4. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    5. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
    6. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    7. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
    7 frames
  42. Unknown
    $Proxy5.deploy
    1. $Proxy5.deploy(Unknown Source)
    1 frame
  43. JBoss Application Server System JMX
    ServerImpl.start
    1. org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
    2. org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
    2 frames
  44. JBoss Application Server Server
    Main$1.run
    1. org.jboss.Main.boot(Main.java:145)
    2. org.jboss.Main$1.run(Main.java:399)
    2 frames
  45. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:534)
    1 frame