|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
seam-genHi
I am using Dan Allens book ( Seam in Action) and have been following the instructions to get seam-gen going. I have hit an error in 'seam generate' related to Hibernate and I am unsure of how to troubleshoot it. If anyone has any ideas I would appreciate it. Find below the output: C:\Documents and Settings\paulmeehan\My Documents\Development\jboss-seam-2.2.0.GA>seam generate SEAM_HOME: C:\Documents and Settings\paulmeehan\My Documents\Development\jboss-seam-2.2.0.GA Using seam-gen sources from: C:\Documents and Settings\paulmeehan\My Documents\Development\jboss-seam-2.2.0.GA\seam-gen Buildfile: C:\Documents and Settings\paulmeehan\My Documents\Development\jboss-seam-2.2.0.GA\seam-gen\build.xml init: init-properties: [echo] C:/Documents and Settings/paulmeehan/My Documents/Development/jboss-4.2.2.GA validate-workspace: validate-project: init-generate: generate-model: [echo] Reverse engineering database using JDBC driver C:Documents and SettingspaulmeehanMy DocumentsDevelopmentseaminactionli ar [echo] project=c:/Documents and Settings/paulmeehan/My Documents/Development/open18 [echo] model=com.mydomain.open18.model [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering) [hibernate] 1. task: hbm2java (Generates a set of .java files) [hibernate] log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). [hibernate] log4j:WARN Please initialize the log4j system properly. [hibernate] An exception occurred while running exporter #2:hbm2java (Generates a set of .java files) [hibernate] To get the full stack trace run ant with -verbose [hibernate] org.hibernate.HibernateException: JDBC Driver class not found: org.h2.Driver [hibernate] java.lang.ClassNotFoundException: org.h2.Driver [hibernate] A class were not found in the classpath of the Ant task. [hibernate] Ensure that the classpath contains the classes needed for Hibernate and your code are in the classpath. BUILD FAILED C:\Documents and Settings\paulmeehan\My Documents\Development\jboss-seam-2.2.0.GA\seam-gen\build.xml:1564: org.hibernate.Hibernate tion: JDBC Driver class not found: org.h2.Driver thanks Paul Meehan -- ======================== Zuonics Ltd The makers of 'ZoeOS' info@... http://www.zuonics.com ======================== _______________________________________________ seam-dev mailing list seam-dev@... https://lists.jboss.org/mailman/listinfo/seam-dev |
|
|
Re: seam-genThis list is not the proper place for this question. Either use the Seam in Action forums:
http://www.manning-sandbox.com/forum.jspa?forumID=354 or the Seam Framework community forums: http://seamframework.org/Community/SeamUsers Thanks for understanding. If we answer one support question here, we will have to answer them all...and it just isn't the right forum for that. -Dan On Fri, Aug 28, 2009 at 7:34 PM, Info <info@...> wrote: Hi -- Dan Allen Senior Software Engineer, Red Hat | Author of Seam in Action Registered Linux User #231597 http://mojavelinux.com http://mojavelinux.com/seaminaction http://in.relation.to/Bloggers/Dan _______________________________________________ seam-dev mailing list seam-dev@... https://lists.jboss.org/mailman/listinfo/seam-dev |
| Free embeddable forum powered by Nabble | Forum Help |