org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [oracle.jdbc.pool.OracleDataSource] for bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]; nested exception is java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSource from [Module "deployment.RSAccessMgmt.war:main" from Service Module Loader]

Stack Overflow | SmartJill | 2 years ago
  1. 0

    Could not obtain connection to query metadata: java.sql.SQLException: The url cannot be null

    Stack Overflow | 2 years ago | SmartJill
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [oracle.jdbc.pool.OracleDataSource] for bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]; nested exception is java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSource from [Module "deployment.RSAccessMgmt.war:main" from Service Module Loader]
  2. 0

    integration jsf and spring org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.primefaces.spring.scope.ViewScope]

    Stack Overflow | 2 years ago | Marina
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.CustomScopeConfigurer#0' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot create inner bean 'org.primefaces.spring.scope.ViewScope#1299ebc' of type [org.primefaces.spring.scope.ViewScope] while setting bean property 'scopes' with key [TypedStringValue: value [view], target type [null]]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.primefaces.spring.scope.ViewScope] for bean with name 'org.primefaces.spring.scope.ViewScope#1299ebc' defined in ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.primefaces.spring.scope.ViewScope from [Module "deployment.Projet_sqli.war:main" from Service Module Loader]
  3. 0

    Waffle as a module in Jboss 7.1

    Stack Overflow | 3 years ago | pjuanmg
    java.lang.ClassNotFoundException: waffle.spring.NegotiateSecurityFilterEntryPoint from [Module "deployment.Grc.war:main" from Service Module Loader]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JBOSS 7.1.1 Spring CXF error

    Stack Overflow | 2 years ago
    java.lang.ClassNotFoundException: org.apache.cxf.jaxws.spring.NamespaceHandler from [Module "deployment.Gestion-web-co-web.war:main" from Service Module Loader]
  6. 0

    Error in Deploying CXF web service on jboss-eap-6.1.1

    Stack Overflow | 1 year ago | Java Queries
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testws': Cannot create inner bean '(inner bean)#1fce836' of type [org.example.testws.TestWSImpl] while setting constructor argument; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.example.testws.TestWSImpl] for bean with name '(inner bean)#1fce836' defined in null; nested exception is java.lang.ClassNotFoundException: org.example.testws.TestWSImpl from [Module "deployment.TestCXFProjectEAR.ear.TestCXFProject.war:main" from Service Module Loader]

  1. Andreas Häber 1 times, last 1 month ago
  2. Reich 8 times, last 2 weeks ago
  3. andyglick 1 times, last 2 months ago
  4. Cafecanudo 3 times, last 2 months ago
  5. pbabcsany 2 times, last 2 months ago
3 more registered users
75 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

    oracle.jdbc.pool.OracleDataSource from [Module "deployment.RSAccessMgmt.war:main" from Service Module Loader]

    at org.jboss.modules.ModuleClassLoader.findClass()
  2. JBoss Modules
    ConcurrentClassLoader.loadClass
    1. org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
    2. org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
    3. org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
    4. org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
    5. org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
    5 frames
  3. Spring Core
    ClassUtils.forName
    1. org.springframework.util.ClassUtils.forName(ClassUtils.java:257)[spring-core-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    1 frame
  4. Spring Beans
    DefaultListableBeanFactory.getBeanNamesForType
    1. org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:408)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2. org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1282)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    3. org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1253)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1330)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    6. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:298)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    7 frames
  5. Spring Context
    AbstractApplicationContext.getBeanNamesForType
    1. org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1132)[spring-context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    1 frame
  6. Spring MVC
    AbstractDetectingUrlHandlerMapping.initApplicationContext
    1. org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.detectHandlers(AbstractDetectingUrlHandlerMapping.java:75)[spring-webmvc-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2. org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping.initApplicationContext(AbstractDetectingUrlHandlerMapping.java:58)[spring-webmvc-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2 frames
  7. Spring Context
    ApplicationObjectSupport.initApplicationContext
    1. org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(ApplicationObjectSupport.java:119)[spring-context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    1 frame
  8. Spring
    WebApplicationObjectSupport.initApplicationContext
    1. org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContext(WebApplicationObjectSupport.java:72)[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    1 frame
  9. Spring Context
    ApplicationContextAwareProcessor.postProcessBeforeInitialization
    1. org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:73)[spring-context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2. org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:109)[spring-context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    3. org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:88)[spring-context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    3 frames
  10. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    9. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)[spring-beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    9 frames
  11. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[spring-context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)[spring-context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2 frames
  12. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[spring-web-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    3 frames
  13. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)[jbossweb-7.0.13.Final.jar:]
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)[jbossweb-7.0.13.Final.jar:]
    2 frames
  14. JBoss Web
    WebDeploymentService.start
    1. org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
    1 frame
  15. JBoss Modular Service Container
    ServiceControllerImpl$StartTask.run
    1. org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
    2. org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
    2 frames
  16. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[rt.jar:1.7.0_07]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[rt.jar:1.7.0_07]
    3. java.lang.Thread.run(Thread.java:722)[rt.jar:1.7.0_07]
    3 frames