Hi,
I'm using linux (fedora 5), Eclipse 3.1.2, JDK 1.5.0_06, mySQL 5.0.18 and Hibernate Tools 3.1.0.beta5. I can use the 'New' wizards to generate the Hibernate config file and Hibernate console configuration. When I click on the resulting Hibernate console config (to open the session factory) I get a "java.lang.NoClassDefFoundError: net.sf.cglib.proxy.Enhancer".
cglib-2.1.3.jar is in /usr/share/eclipse/plugins/org.hibernate.eclipse_3.1.0.beta5/lib/hibernate but does not seem to be being picked up. I've used the Hibernate Tools on windows before but not tried it on linux before.
Full stack trace is below:-
java.lang.NoClassDefFoundError: net.sf.cglib.proxy.Enhancer
at java.lang.Class.initializeClass (libgcj.so.7)
at org.hibernate.console.node.ProxyFactory.createEnhancer (ProxyFactory.java:53)
at org.hibernate.console.node.NodeFactory.createConfigurationEntitiesNode (NodeFactory.java:58)
at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren (ConsoleConfigurationWorkbenchAdapter.java:44)
at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren (BasicWorkbenchAdapter.java:69)
at org.eclipse.ui.progress.DeferredTreeContentManager$1.run (org.eclipse.ui.workbench_3.1.2.jar.so)
at org.eclipse.core.internal.jobs.Worker.run (org.eclipse.core.runtime_3.1.2.jar.so)
Joe
|