如何获得“Eclipse>生成> Jaxb类”选项回来 [英] How can I get the "Eclipse >Generate>Jaxb classes" option back?

查看:263
本文介绍了如何获得“Eclipse>生成> Jaxb类”选项回来的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近不得不迁移到新机器并重新安装Eclipse。
此刻,我需要从xsd生成JAXB类。我不记得我安装了什么,但是在我的旧Eclipse中,我有选项--rightclick-generate-jaxb类。谁知道我有什么安装/插件来取回它吗?





我正在考虑安装 Dali ,这似乎是对的,但我确定我上次没有安装Dali。我也将jaxb jar包含在我的构建路径中,最后一次,这样就可以了。



我正在使用Eclipse 3.6和Java SE 1.6。

解决方案

这个问题的一个简单的修复 - 而不是担心添加额外的插件或安装 - 是安装 Eclipse IDE对于Java EE开发人员而不是 Eclipse Classic (都可以找到这里)。这与JAXB支持一起提供,因此提供了生成> Jaxb类选项。


I recently had to migrate to a new machine and re-installed Eclipse. At the moment, I need to generate JAXB classes from an xsd. I cannot quite remember what I installed, but in my old Eclipse I had the option -rightclick-generate-jaxb classes.

Who knows what I have to install/plug-in to get it back?

I was looking at installing Dali, which seems like it could be right, but I am pretty sure I did not install Dali last time. I also included the jaxb jars in my build path, as last time, so that should be ok.

I am using Eclipse 3.6 and Java SE 1.6.

解决方案

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.

这篇关于如何获得“Eclipse>生成> Jaxb类”选项回来的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆