Eclipse added jar to referenced libraries but still getting ClassNotFoundException

212 Views Asked by At

Hi I'm following this tutorial using eclipse. I've included the derby.jar and derbyclient.jar files and I can clearly see them appearing under referenced libraries. Oddly, I'm still geting java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriver even though the jar files are clearly there. I tried looking online but nothing were useful.

My steps of adding jar to referenced libraries: Right click project > properties > Java build path > Modulepath > Add External JARs. I've also tried adding it to Classpath instead of Modulepath and importing the package but either approaches doesn't seem to work at all.

0

There are 0 best solutions below