org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'

tistory.com | 3 months ago
  1. 0

    스프링(Spring) 개발 - (9) Mybatis (마이바티스) 연동하기 :: 흔한 개발자의 개발 노트

    tistory.com | 3 months ago
    org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
  2. 0

    ClassNotFoundException in servlet project

    Stack Overflow | 1 year ago | rainu
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
  3. 0

    Spring JDBC Exceptions

    Stack Overflow | 3 months ago | rohith
    org.springframework.beans.MethodInvocationException: Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [oracle.jdbc.driver.OracleDriver]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    oracle.jdbc.driver.OracleDriver ClassNotFoundException even after including jar file

    Stack Overflow | 2 months ago | Saurabh Gupta
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
  6. 0

    Issue using apache tiles 3 in spring mvc web project

    Stack Overflow | 1 year ago | Phoebus
    java.lang.ClassNotFoundException: org.apache.tiles.request.ApplicationContext

  1. linxiaolong 1 times, last 1 week ago
  2. treefolk 3 times, last 2 weeks ago
  3. DoktorDoener666 5 times, last 3 weeks ago
  4. kjhdofjosvs 1 times, last 4 weeks ago
  5. marcbouvierdav 2 times, last 2 months ago
7 more registered users
88 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.driver.OracleDriver

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
  2. Glassfish Core
    WebappClassLoaderBase.loadClass
    1. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
    2. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
    2 frames
  3. Commons DBCP
    BasicDataSource.getConnection
    1. org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1420)
    2. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
    3. org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    3 frames
  4. MyBatis
    VendorDatabaseIdProvider.getDatabaseId
    1. org.apache.ibatis.mapping.VendorDatabaseIdProvider.getDatabaseProductName(VendorDatabaseIdProvider.java:76)
    2. org.apache.ibatis.mapping.VendorDatabaseIdProvider.getDatabaseName(VendorDatabaseIdProvider.java:61)
    3. org.apache.ibatis.mapping.VendorDatabaseIdProvider.getDatabaseId(VendorDatabaseIdProvider.java:49)
    3 frames
  5. MyBatis-Spring
    SqlSessionFactoryBean.afterPropertiesSet
    1. org.mybatis.spring.SqlSessionFactoryBean.buildSqlSessionFactory(SqlSessionFactoryBean.java:445)
    2. org.mybatis.spring.SqlSessionFactoryBean.afterPropertiesSet(SqlSessionFactoryBean.java:336)
    2 frames
  6. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
    9. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
    9 frames
  7. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
    2 frames
  8. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
    3 frames
  9. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
    5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
    5 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames