Unable to connect with oracle 11g via java

后端 未结 2 1226
余生分开走
余生分开走 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: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.

提交回复
热议问题