java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver

Coderanch | Jeremy McNally | 3 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

    Can't get my DBConnection (JDBC) - Really need help

    Coderanch | 3 years ago | Jeremy McNally
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
  2. 0

    primefaces jar and its extension jar not working at same time

    Stack Overflow | 1 year ago | umaair_653
    com.sun.faces.config.ConfigurationException: javax.faces.FacesException: org.apache.commons.lang3.StringEscapeUtils
  3. 0

    Can not add data into an mysql database from jsf web app

    Stack Overflow | 4 years ago | user1924104
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JDBC ODBC Driver Connection

    Stack Overflow | 3 years ago | James Manes
    java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
  6. 0

    SEVERE: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

    Stack Overflow | 4 years ago | Somnath Paul
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

    22 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.glassfish.web.loader.WebappClassLoader.loadClass()
    2. Web Container Common Utilities
      WebappClassLoader.loadClass
      1. org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1509)
      2. org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
      2 frames
    3. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:190)
      2 frames
    4. com.docm.dao
      AddDoctorDAO.persist
      1. com.docm.dao.DBConnection.getInstance(DBConnection.java:15)
      2. com.docm.dao.AddDoctorDAO.persist(AddDoctorDAO.java:15)
      2 frames
    5. com.docm.servlets
      AddDoctorServlet.doPost
      1. com.docm.servlets.AddDoctorServlet.doGet(AddDoctorServlet.java:38)
      2. com.docm.servlets.AddDoctorServlet.doPost(AddDoctorServlet.java:53)
      2 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
      2 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      7. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
      8 frames
    8. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      2 frames
    9. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)
      1 frame