Have you added your project onto the classpath for the hibernate console
configuration?

Roy.


wernerlauwers wrote:
> 
> Hi
> 
> I have an issue in getting a valid Hibernate Tools console configuration
> with my appfuse 2.0 based project.  Maybe this should go to the hibernate
> tools forum, but I couldn't really figure out wether it's an appfuse issue
> or an hibernate tools issue.
> Version information:  Eclipse 3.3 / Hibernate Tools 3.2.0.cr1 / Appfuse
> 2.0 Spring MVC basic.
> Steps I did:
> * Imported project in eclipse
> * hibernate.cfg.xml contains 8 mappings (annotated in the class'es)
> * Created copy of hibernate.cfg.xml to include hibernate.connection.*
> properties (driver_class, username, password, url) & hibernate.dialect
> * Created New Hibernate Console Configuration, referening the
> hibernate.cfg.xml containing these properties, changed Typeto "Core" (I
> did not change any other setting).
> 
> Then I select the Database node of my Console configuration and get 
> 
> !MESSAGE An internal error occurred during: "Fetching children of
> Database".
> !STACK 0
> java.lang.NoClassDefFoundError: org/hibernate/Hibernate
>         at org.hibernate.dialect.Dialect.<init>(Dialect.java:156)
>         at org.hibernate.dialect.MySQLDialect.<init>(MySQLDialect.java:23)
>         at
> org.hibernate.dialect.MySQL5Dialect.<init>(MySQL5Dialect.java:10)
>         at
> org.hibernate.dialect.MySQL5InnoDBDialect.<init>(MySQL5InnoDBDialect.java:7)
> 
> When I check the classpath of my configuration I see
>   M2_REPO/org/hibernate/hibernate/3.2.5.ga/hibernate-3.2.5.ga.jar
> which contains this class...
> 
> I've tried various other configurations but all fail - now I'm stuck...
> Anyone any idea?
> 
> Thanks
> Werner
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Appfuse-2.0---Hibernate-Tools-Console-Configuration-issue-tf4830198s2369.html#a13823151
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to