Application is throwing exception :
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Which I know is caused by classpath
settings.
How to set it in netbeans 8?
In NetBeans go to Project Properties Window then click Libraries in the left panel and in right panel there are 4 categories of classpath where you can configure: 1) Compile 2) Run 3) Compile Test 4) Run Test. To Add jar, Right click on Project folder in NetBeans,Then open Properties.Then choose Libraries. Here you can add jar.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.