How can I get the quot;Eclipse gt;Generategt;Jaxb classesquot; option back?(如何获得“Eclipsegt;Generategt;Jaxb 类?选择回来?)
问题描述
我最近不得不迁移到一台新机器并重新安装了 Eclipse.目前,我需要从 xsd 生成 JAXB 类.我不太记得我安装了什么,但在我的旧 Eclipse 中,我有选项 -rightclick-generate-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?
我正在考虑安装 Dali,这似乎是正确的,但是我很确定我上次没有安装 Dali.和上次一样,我还在构建路径中包含了 jaxb jar,所以应该没问题.
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.
我正在使用 Eclipse 3.6 和 Java SE 1.6.
I am using Eclipse 3.6 and Java SE 1.6.
推荐答案
解决这个问题的一个简单方法 - 而不是担心添加额外的插件或安装 - 是安装 Eclipse IDE for Java EE Developers而不是 Eclipse Classic(两者都可以在 here 找到).这带有 JAXB 支持,因此提供了 >Generate>Jaxb 类 选项.
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>Generate>Jaxb 类"?选择回来?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何获得“Eclipse>Generate>Jaxb 类"?选
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01