-->
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: error by schemaexport HSQLDB
PostPosted: Sat Jun 25, 2011 9:47 am 
Newbie

Joined: Sat Jun 25, 2011 9:06 am
Posts: 2
Hello,
I am new in Hibernate and try to write my first "helleworld" program. I am using the step in the book "Java persistence with Hibernate". as I run the build.xml with ant I become the following error. The error came as a schema have to be generate to on the database using hbm2ddl

(German)Deutsch:

Hallo,
ich bin neue in Hibernate und versuche ein erstes "helloWorld" programm zu machen.Ich habe die anweisung in das "Java persistence with Hibernate" gefolgt. Jetzt beim ausführen des build.xml habe ich folgende fehler bekommen. Der fehler tritt auf, wenn ein schema mit dem hibernate tool hbm2ddl exportiert werden soll.


BUILD FAILED
C:\mypath\build.xml:60: java.lang.NoSuchMethodError: org/slf4j/impl/StaticLoggerBinder.getSingleton()Lorg/slf4/im/StaticLoggerBinder;

weiss irgendjemand etwas darüber?
can somebody please help?

schemaexport target of build.xml(the have to be here, but i cannot found it!)/ schemaexport target von build.xml(so sieht die stelle wo der fehler sein sollte aus):
<target name="schemaexport" depends="compile, copymetafiles"
description="Exports a generated schema to DB and file">
<hibernatetool destdir="${basedir}">
<classpath path="${build.dir}"/>
<configuration
configurationfile="${build.dir}/hibernate.cfg.xml"/>
<hbm2ddl
drop="true"
create="true"
export="true"
outputfilename="helloworld-ddl.sql"
delimiter=";"
format="true"/>
</hibernatetool>
</target>
ausserdem habe ich folgende *.jar datei in meinem workdir/lib ordner:
antlr.jar
asm.jar
asm-attrs.jars
c3p0.jar
cglib.jar
commons-collections.jar
jcl-over-slf4j.jar
dom4j.jar
hibernate3.jar
hsqldb.jar
jta.jar

thanks yor any help
PS: you can answer in deutsch, in english, or in francais!


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.