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 231529 - NoClassDefFoundError: Could not initialize class org.hibernate.ejb.Ejb3Configuration
Summary: NoClassDefFoundError: Could not initialize class org.hibernate.ejb.Ejb3Config...
Status: RESOLVED DUPLICATE of bug 230196
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-19 14:56 UTC by alied
Modified: 2013-07-08 16:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 201327


Attachments
stacktrace (493 bytes, text/plain)
2013-06-19 14:56 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2013-06-19 14:56:11 UTC
Build: NetBeans IDE Dev (Build 201306181109)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
alied: Installed the latest dev build with a fresh userdir.
ran a simple query:
SELECT c from ChargeableAni c

Where ChargeableAni is a registered entity in Hibernate.

GUEST: JPQL Error




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.ejb.Ejb3Configuration
   at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:55)
   at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:79)
   at org.netbeans.modules.j2ee.persistence.jpqleditor.JPQLExecutor.execute(JPQLExecutor.java:131)
   at org.netbeans.modules.j2ee.persistence.jpqleditor.JPQLEditorController$2.run(JPQLEditorController.java:132)
Comment 1 alied 2013-06-19 14:56:13 UTC
Created attachment 136034 [details]
stacktrace
Comment 2 Jaroslav Tulach 2013-07-08 16:01:29 UTC
Can't load Log4J and causes failures in hibernate.
Comment 3 Sergey Petrov 2013-07-08 16:05:21 UTC
Please provide some useful information on how to create a project in order to reproduce the issue, thanks. I'm not able to reproduce if just create new project with hibernate provider.

*** This bug has been marked as a duplicate of bug 230196 ***