Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

connecting to jdbc driver issue (Still a newbie to java)

$
0
0

I've established a connection through a BASIS JDBC driver using the database window by adding the driver.  This has allowed me to generate my ORM maps etc.

 

I am now trying to connect to the database via java code and keep getting the following message

 

java.sql.SQLException: No suitable driver found for jdbc:basis:east3.ihmsweb.com:2001?DATABASE=BBJ_IHMS_WEG

 

I am assuming it is a CLASSPATH issue, but I have no idea how to add the driver to the project.  I did try adding the drivers jar file in the Project Structure dialog to the module dependencies as well as the library.  This action did not change the outcome.

 

Any help would be greatly appreciated.

 

Ian


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>