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.
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)
Created attachment 136034 [details] stacktrace
Can't load Log4J and causes failures in hibernate.
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 ***