Problem with NoClassDefFoundError: org/apache/log4j/Level
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:
and followed from it:
java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.ejb.Ejb3Configuration
I put log4j1.2.16 into libraries folder in netbeans and also other libraries like slf4j, hibernate required libs, jpa and my jdbc driver but it didn't make any difference. Here is my stack trace:
I give you my project maybe you could find out what I am doing wrong.