Generate JAXB Classes - cannot find XJCFacade [message #662010] |
Mon, 28 March 2011 17:04  |
Eclipse User |
|
|
|
I'm attempting to generate JAXB classes from an XSD. When I right-click the schema and select the Generate->JAXB Classes, I get the following error on the console.
java.lang.NoClassDefFoundError: com/sun/tools/xjc/XJCFacade
Caused by: java.lang.ClassNotFoundException: com.sun.tools.xjc.XJCFacade
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301 )
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
I've been digging through Eclipse docs for better part of a day now, and cannot find anything that suggests that I need to do anything special to Generate JAXB Classes.
Config:
Version: Helios Service Release 2 Java EE version.
Build id: 20110218-0911
EclipseLink SDK 2.2.0 (not sure if I need this or not)
JDK 1.6.0_24
Can someone point me to docs that explain where XJCFacade is and how to install it into eclipse?
Thanks
Michael
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03799 seconds