Cannot find Oracle jdbc driver

后端 未结 1 1797
甜味超标
甜味超标 2021-01-20 16:00

I am new to java and database connections and I am trying to make a very simple connection to an oracle database. When I run this code:

import java.sql.*;
im         


        
相关标签:
1条回答
  • 2021-01-20 16:55

    Check that the .jar is also on your run path. In eclipse go to Run --> Run Configurations --> Select your configuration --> classpath tab. Your jar needs to be in the "user entries" if its not choose "Add Jar" on the right hand side.

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