Meaningless Drivel is fun!
The moose likes Object Relational Mapping and the fly likes HiberClipse Plugin is not working! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "HiberClipse Plugin is not working!" Watch "HiberClipse Plugin is not working!" New topic

HiberClipse Plugin is not working!

Helen Ge
Ranch Hand

Joined: May 24, 2005
Posts: 68

I installed the hiberClipse plugin in my WSAD 5.1.1 (based on Eclipse x2.1) to see how it suports the auto code generation from .hbm file to POJO file.

When I right click the contact.hbm.xml file I created and choose HiberClipse--> CodeGenerator, the following exception is thrown:

java.lang.NoClassDefFoundError: com/ibm/crypto/provider/IBMJCA (wrong name: net/sf/hibernate/tool/hbm2java/CodeGenerator)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
Exception in thread "main"

Has anyone can tell from above message what could be wrong? I did have the hibernate-tool.jar which contains the net/sf/hibernate/tool/hbm2java/CodeGenerator in my build path.



Mark Spritzler

Joined: Feb 05, 2001
Posts: 17271

Maybe a you have a different version of Hibernate than the one that HiberClipse is using.

First, for the best Hibernate plugin use JBoss's. Built by the source, rather than some third party plugin.

I have never heard of HiberClipse, so maybe it is old and has the old Hibernate 2.x package naming, whereas in Hibernate 3 the package structure changed. So that would make Hibernate 3.x incompatible with HiberClipse.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: HiberClipse Plugin is not working!
It's not a secret anymore!