Hi,
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(ClassLoader.java:703)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:133)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:320)
at java.net.URLClassLoader.access$400(URLClassLoader.java:93)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:678)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:239)
at java.lang.ClassLoader.loadClass(ClassLoader.java:516)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:460)
at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
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.
Thanks
-Helen
|