This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 247906 - NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.EmbeddedDriver
Summary: NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.Embedd...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-14 00:19 UTC by palmerfrond
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 210971


Attachments
stacktrace (6.78 KB, text/plain)
2014-10-14 00:19 UTC, palmerfrond
Details

Note You need to log in before you can comment on or make changes to this bug.
Description palmerfrond 2014-10-14 00:19:16 UTC
This issue was reported manually by palmerfrond.
It already has 2 duplicates 


Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) Client VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01
OS: Windows XP

User Comments:
palmerfrond: trying to use Hibernate Reverse Engineering Wizard on embedded derby database.    I previously added the Java DB Driver to the project libraries folder.  This allowed the wizard to connect to my database 1 time only. I was able to select my tables and I thought had complete the wizard but no hiberate.reveng file was created. Now I only get this error.

GUEST: Trying to create a hibernate reverse engineering file via the file wizard ....




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.EmbeddedDriver
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:0)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   at java.lang.Class.newInstance(Class.java:374)
   at org.netbeans.modules.hibernate.util.HibernateUtil.getDirectDBConnection(HibernateUtil.java:610)
Comment 1 palmerfrond 2014-10-14 00:19:18 UTC
Created attachment 149882 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 08:54:18 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss