-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: NoClassDefFound Error in EntityManager
PostPosted: Fri Mar 14, 2008 2:05 pm 
Newbie

Joined: Thu Mar 13, 2008 5:45 am
Posts: 5
Location: India
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 15, 2008 10:07 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Check the ./lib directory of your Hibernate EntityManager distribution.
Note that the latest version of HEM no longer require this library.

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.