-->
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.  [ 1 post ] 
Author Message
 Post subject: Exception in thread "main" java.lang.NoSuchFieldError: TRACE
PostPosted: Sun Dec 30, 2012 1:16 pm 
Newbie

Joined: Sun Dec 30, 2012 12:44 pm
Posts: 4
i am writing a normal hibernate program for mapping the class to the oracle database.
i was trying to build my program using ANT builder but i am getting the below error.
[java] Exception in thread "main" java.lang.NoSuchFieldError: TRACE
[java] at org.jboss.logging.Log4jLogger.translate(Log4jLogger.java:64)
[java] at org.jboss.logging.Log4jLogger.doLog(Log4jLogger.java:44)
[java] at org.jboss.logging.Logger.trace(Logger.java:128)
[java] at org.hibernate.ejb.internal.EntityManagerMessageLogger_$logger.trace(EntityManagerMessageLogger_$logger.java:431)
[java] at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:323)
[java] at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
[java] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
[java] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)
[java] at hello.JpaStarter.main(Unknown Source)
[java] Java Result: 1

i guess there is something wrong with the versions of the jar files i am using but not a clue. any help will be appreciated.

hibernate 3.2.2
log4j 1.2.8 version( as found in the META-INF file)
common-logging-1.0.4


Thanks
Shashidhar Singhal


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

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.