Troubleshooting
Problem
Attempts to generate JAXB classes using the class generation wizard in IBM Rational Application Developer for WebSphere Software (RAD) 8.x results in the error "NoClassDefFoundError: com.sun.tools.xjc.xjcfacade" when you right-click on {SomeSchema}.xsd > Generate > JAXB Classes.
Symptom
The full error message is as follows:
//-- JVM Launcher
(X) could not find main class: com.sun.tools.xjc.XJCFacade.
Program will exit.
//--
Console reports:
..
... NoClassDefFoundError: com.sun.tools.xjc.XCJFacade
caused by
... java.lang.ClassNotFoundException: com.sun.tools.xjc.XCJFacade
..
Additional errors seen:
The classpath for this project does not appear to contain the necessary libraries to proceed with class generation. Please ensure that a JAXB implementation is available on the classpath.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
More support for:
Rational Application Developer for WebSphere Software
Software version:
8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.4.1, 8.0.4.2, 8.5, 8.5.1, 8.5.5, 9.0
Operating system(s):
Linux, Windows
Document number:
482381
Modified date:
16 June 2018
UID
swg21615629