Hi
I am working under NetBeans 6.9.RC2 under Win XP SP2
I try to run simple ejb application using Hibernate JPA as my persistence provider.
Unfortunatelly as I try to create entity manager factory I always get an error:
java.lang.NoClassDefFoundError: org/apache/log4j/Level
caused by ClassNotFoundException org/apache/log4j/Level
and followed from it:
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.ejb.Ejb3Configuration
Here is full stack trace:
http://pastebin.com/gBneksfqI put log4j1.2.16 into libraries folder in netbeans and also other libraries such as slf4j, hibernate required libs, jpa and my jdbc driver but it didn't make any difference.
I give you my project maybe you could find out what I am doing wrong.
http://forums.java.net/jive/servlet/Jiv ... /EAOne.zip