I am trying to learn how to create web services with Java. I added the JAXB plugin to the eclipse / plugin folder and I restarted eclipse. I added the .xsd file to the source folder in eclipse and I am trying to create classes from the xsd file. The tutorial mentions that when I right-click on the .xsd file, I should see the JAXB 2.1 β run XJC parameter, but I do not see such an option in my eclipse installation. I only see the "Generate -> JAXB Classes option". If I select this option and force classes, it gives an error message:
The classpath for this project does not appear to contain the necessary libraries to proceed with class generation. Please insure that a JAXB implementation is available on the classpath. Couldn't find the main class com.sun.tools.xjc.XJFacade.
Can someone help me figure out why I donβt see this option on an eclipse? I tried both Galileo and Helios.
eclipse eclipse-plugin jaxb
RKodakandla
source share