Hibernate Books

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: Problem running schemaexport with caveatemptor
PostPosted: Tue Oct 13, 2009 3:38 pm 
Newbie

Joined: Tue Oct 13, 2009 3:33 pm
Posts: 3
I just downloaded caveatemptor-jpa-061211 and tried running 'ant schemaexport'.

I received
Users/jleon/Documents/caveatemptor-jpa-061211/build.xml:94: java.lang.NoClassDefFoundError: org/slf4j/impl/StaticLoggerBinder

What additional jars do I need in my classpath to to run the schema export?

Thanks so much for your help!


Top
 Profile  
 
 Post subject: Re: Problem running schemaexport with caveatemptor
PostPosted: Wed Oct 14, 2009 12:59 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
It's impossible that caveatemptor-jpa-061211 will throw that error. You have replaced something after downloading it and before running. Therefore, you are in the wrong forum.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject: Re: Problem running schemaexport with caveatemptor
PostPosted: Fri Oct 16, 2009 11:39 am 
Newbie

Joined: Tue Oct 13, 2009 3:33 pm
Posts: 3
Thank you for your help.

I resolved the problem by clearing and resetting my classpath and trying again:

export CLASSPATH=$JAVA_HOME/lib/tools.jar:$ANT_HOME/lib/ant.jar:.
ant schemaexport


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.