Unable to connect with oracle 11g via java

后端 未结 2 1175
余生分开走
余生分开走 2021-01-28 09:47

I was trying to make connection with Oracle 11g via java and i have added ojdbc14 and ojdbc6 but still i am getting this error while compiling.Please help.

            


        
相关标签:
2条回答
  • 2021-01-28 10:03

    Your ojdbc$version.jar seems not to be in the classpath.

    0 讨论(0)
  • 2021-01-28 10:16

    You need to add JDBC driver to your class path.

    java.lang.ClassNotFoundException: com.oracle.jdbc.Driver // this error shows that your application is missing oracle jdbc driver.
    

    Download Oracle jdbc driver, then add it to your class path.

    0 讨论(0)
提交回复
热议问题