How can I get the "Eclipse >Generate>Jaxb classes" option back?

If you don't have JavaEE:

Help>>Install New Software>>Works with:--All Available Sites--

Search for JAXB

Then select Web, XML, Java EE and OSGi Enterprise Development and install.

After you restart Eclipse you should see the generate option.


A simple fix for this problem - rather than worrying about adding additional plugins or installs - is to install Eclipse IDE for Java EE Developers rather than Eclipse Classic (both to be found here). This comes with the JAXB support and therefore provides the >Generate>Jaxb classes option.


The above methods may work, but actually the options comes from a plugin called Web Tools Platform which comes along with Eclipse IDE for Java EE Developers.

Don't worry about reinstalling eclipse or try out other methods. No matter what eclipse you use simply install this plugin by following the below procedure. You will get the "JAXB Classes" Option on click of "Generate" button.

Help --> Install New Software --> Add

Name : Web Tools Platform
Location : http://download.eclipse.org/webtools/repository/helios

Hint : In case if you are using a different version replace helios with your eclipse version name. I used it as luna. So the path looks like http://download.eclipse.org/webtools/repository/luna

And restart eclipse. Now you will have that option.