-->
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: HelloWorld - EJB3: schemaexport error
PostPosted: Fri Apr 11, 2008 4:50 pm 
Newbie

Joined: Fri Apr 11, 2008 4:32 pm
Posts: 1
Hibernate version: 3.2

Name and version of the database you are using: HSQL

Error:

C:\helloworld\hwEJB3>ant schemaexport
Buildfile: build.xml

compile:
[javac] Compiling 1 source file to C:\helloworld\hwEJB3\bin

copymetafiles:

schemaexport:
[hibernatetool] Executing Hibernate Tool with a JPA Configuration
[hibernatetool] 1. task: hbm2ddl (Generates database schema)
[hibernatetool] 15:04:28,772 INFO Version:15 - Hibernate EntityManager 3.2.0.CR
1
[hibernatetool] 15:04:28,802 INFO Version:15 - Hibernate Annotations 3.2.0.CR1
[hibernatetool] 15:04:28,812 INFO Environment:499 - Hibernate 3.2 cr2
[hibernatetool] 15:04:28,822 INFO Environment:532 - hibernate.properties not fo
und
[hibernatetool] 15:04:28,842 INFO Environment:666 - Bytecode provider name : cg
lib
[hibernatetool] 15:04:28,862 INFO Environment:583 - using JDK 1.4 java.sql.Time
stamp handling
[hibernatetool] An exception occurred while running exporter #2:hbm2ddl (Generat
es database schema)
[hibernatetool] To get the full stack trace run ant with -verbose
[hibernatetool] Problems in creating a configuration for JPA. Have you remembere
d to add hibernate EntityManager jars to the classpath ?
[hibernatetool] java.lang.NoSuchMethodException: org.hibernate.ejb.Ejb3Configura
tion.configure(java.lang.String, java.util.Map)


BUILD FAILED
C:\helloworld\hwEJB3\build.xml:138: Problems in creating a configuration for JPA.
Have you remembered to add hibernate EntityManager jars to the classpath ?

Total time: 3 seconds
C:\helloworld\hwEJB3>



lib:

antlr-2.7.6.jar
antlr.license.txt
apache.license-2.0.txt
apache.license.txt
asm-attrs.jar
asm.jar
c3p0-0.9.0.jar
c3p0-0.9.1.jar
cglib-2.1.3.jar
commons-collections-2.1.1.jar
commons-logging-1.0.4.jar
dom4j-1.6.1.jar
ejb3-persistence.jar
hibernate-all.jar
hibernate-annotations.jar
hibernate-commons-annotations.jar
hibernate-entitymanager.jar
hibernate-tools.jar
hibernate3.jar
hsqldb.jar
javassist.jar
jboss-archive-browsing.jar
jboss-ejb3-all.jar
jta.jar
lgpl.txt
log4j-1.2.13.jar
thirdparty-all.jar


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.