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