-->
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: LogManager Error
PostPosted: Tue Dec 14, 2004 6:44 am 
Newbie

Joined: Fri Dec 10, 2004 4:56 am
Posts: 2
I downloaded hibernate 2.1.7c and ant 1.6.2, installed all as described. I copied the JDBC-Files for firebird (ver 1.5.5) to the lib directory. The commant 'ant eg' ends with the following message:

Buildfile: build.xml
[taskdef] Could not load definitions from resource clovertasks. It could not be found.

eg:
[echo] Remember to place your JDBC driver in the lib directory!
[echo] This target is not runable from a CVS export/checkout!
[java] Exception in thread "main" java.lang.ExceptionInInitializerError
[java] at org.hibernate.auction.Main.main(Main.java:356)
[java] Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: <clinit> signature: ()V) Incompatible argument to function (Caused by java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: <clinit> signature: ()V) Incompatible argument to function)
[java] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
[java] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
[java] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
[java] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
[java] at net.sf.hibernate.cfg.Configuration.<clinit>(Configuration.java:94)
[java] ... 1 more'
[java] Caused by: java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: <clinit> signature: ()V) Incompatible argument to function
[java] at org.apache.log4j.Logger.getLogger(Logger.java:85)
[java] at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
[java] at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
[java] at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
[java] ... 5 more

BUILD FAILED
/opt/hibernate/build.xml:509: Java returned: 1

Does anyone know what's the problem. Thank you for any help - I'm new with hibernate.


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.