0

I am dealing with derby to perform database related functions in a Java Project. The java project is a command line project. To accomplish this, I have added derby.jar into libs folder of my project, though on running application into netbeans, I am getting this error :

Mon Aug 18 17:32:23 IST 2014 Thread[AWT-EventQueue-0,6,main] java.lang.ClassNotFoundException: DerbyLogSetting
----------------------------------------------------------------
Mon Aug 18 17:32:23 IST 2014:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.8.1.2 - (1095077): instance a816c00e-0147-e8ff-2d32-000003436058 
on database directory My_Database_Path\Database_Path  with class loader sun.misc.Launcher$AppClassLoader@430e468f 
Loaded from file:/My_Project_Path/derby.jar
java.vendor=Oracle Corporation
java.runtime.version=1.7.0_45-b18
user.dir=My_Project_Path
derby.system.home=null
derby.stream.error.method=DerbyLogSetting.disableDerbyLogFile
Database Class Loader started - derby.database.classpath=''

Same happening when I am running the exe of my project on command prompt. On goggling about the issue, I got that on adding derby-client into class path can solve my problem, but adding this jar (derbyclient-10.8.1.2.jar) into libs of my project not solving the issue.

What else needed to solve the issue ?

Community
  • 1
  • 1
Neelam Sharma
  • 2,745
  • 4
  • 32
  • 73

0 Answers0