-->
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.  [ 6 posts ] 
Author Message
 Post subject: problem:use SchemaExport.bat
PostPosted: Wed Feb 11, 2004 11:35 pm 
Newbie

Joined: Mon Feb 09, 2004 3:50 am
Posts: 4
could not configure datastore from mapping files


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 11, 2004 11:36 pm 
Newbie

Joined: Mon Feb 09, 2004 3:50 am
Posts: 4
set JDBC_DRIVER=E:\yangbo\jakarta-tomcat-5.0.142\webapps\hibernate\WEB-INF\lib\mm.mysql-2.0.4-bin.jar
set HIBERNATE_HOME=E:\yangbo\jakarta-tomcat-5.0.142\webapps\hibernate\WEB-INF
set LIB=%HIBERNATE_HOME%\lib
set PROPS=%HIBERNATE_HOME%\classes\src\com\hellking\study\hibernate
set PORP=%PROPS%\Address;%PROPS%\Classes;%PROPS%\Course;%PROPS%\Student
set CP=%JDBC_DRIVER%;%PROPS%;%LIB%\hibernate2.jar;%LIB%\commons-logging.jar;%LIB%\commons-collections.jar;%LIB%\commons-lang.jar;%LIB%\cglib2.jar;%LIB%\odmg.jar;%LIB%\jdom.jar;%LIB%\xml-apis.jar;%LIB%\dom4j.jar;%LIB%\xerces.jar;%LIB%\xalan.jar
set MAP_PATH=%HIBERNATE_HOME%\classes
set MAP_FILE=%MAP_PATH%\hibernate.cfg.xml
rem %MAP_PATH%\Student.hbm.xml;%MAP_PATH%\Course.hbm.xml;%MAP_PATH%\Classes.hbm.xml;%MAP_PATH%\Address.hbm.xml
java -cp %CP% net.sf.hibernate.tool.hbm2ddl.SchemaExport %MAP_FILE%


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 11, 2004 11:39 pm 
Newbie

Joined: Mon Feb 09, 2004 3:50 am
Posts: 4
Exception in thread "main" java.lang.NoClassDefFoundError:org/apache/commons/beanutils/DynaClass


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 12, 2004 1:06 am 
Expert
Expert

Joined: Fri Nov 07, 2003 4:24 am
Posts: 315
Location: Cape Town, South Africa
include commons-beanutils.jar in the classpath


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 12, 2004 7:00 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Can you submit that to JIRA not to lost it.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 16, 2004 9:07 pm 
Newbie

Joined: Mon Feb 09, 2004 3:50 am
Posts: 4
thanks
i was successed


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