-->
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.  [ 3 posts ] 
Author Message
 Post subject: I keep receiving a java.lang.NoSuchMethodError
PostPosted: Wed Oct 04, 2006 5:42 pm 
Senior
Senior

Joined: Tue Aug 01, 2006 9:24 pm
Posts: 120
i am using hibernate 3.0
and i keep receiving the error message

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.apache.log4j.spi.LoggingEvent.getThrowableStrRep()[Ljava/lang/String;
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:304)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:56)
at org.apache.log4j.Category.callAppenders(Category.java:258)

I deleted some files from my application and i must have accidently deleted something i needed. Log4j was one of the files i deleted so i downloaded 2 versions and tried them both no luck, however i received a different error with the new one i think it's 3.1 right now i am using
log4j-1.2.11.jar.

Does anyone know what file or versions i need to use with hibernate?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 7:02 pm 
Regular
Regular

Joined: Tue Sep 26, 2006 11:37 am
Posts: 115
Location: Sacramento, CA
AFAIK log4j-1.2.13.jar works for sure. The class missing seems to be called internally by log4j so you'd think that any version of log4j would be consistent in its internal implementation.


Top
 Profile  
 
 Post subject: i found the problem
PostPosted: Wed Oct 04, 2006 7:59 pm 
Senior
Senior

Joined: Tue Aug 01, 2006 9:24 pm
Posts: 120
the problem was not log4j itself but further in my code i had another file log4j-core.jar, turned out i had two jar files i should have been looking for this.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.