I have used hibernate's EntityManager for implementing entity persistence in the java desktop environment.
I am getting below error at runtime :-
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/util/file/ArchiveBrowser$Filter
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:119)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
at st.itac.ccc.EntityClient.main(EntityClient.java:9)
can any one help me out which jar files I need to include in the class path/or which jar file is missing.
I have included following jar files in the classpath :-
hibernate3.jar,hibernate-annotations.jar,hibernate-entitymanager.jar,ejb3-persistence.jar,javassit.jar
can any one help me out.
with best regards,
Ajay Kumar
ST Microelectronics Ltd
|