我正在尝试学习如何使用Java生成webservices。我已经将JAXB插件添加到eclipse/plugin文件夹中,并重新启动了eclipse。我已经将.xsd文件添加到eclipse下的源文件夹中,并且正在尝试从xsd文件生成类。本教程提到,当我右键单击.xsd文件时,应该看到一个名为“JAXB 2.1 - >运行XJC”的选项,但在eclipse安装中没有看到任何此类选项。我只看到“生成 - > JAXB类选项”。如果我选择了此选项,迫使它建立的类,它给出了一个错误的说法:从xsd文件生成java类 - JAXB
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.
有人可以帮助我弄清楚为什么我不能看到月食下这种选择?我试过伽利略和赫利俄斯。
那是什么用了从Java调用前景做安装吗? – razlebe
yikes ..对不起,我昨天会问一些完全不同的问题..我开始了它,但发现自己asnwer ..没有注意到,我有这个标题仍然 – RKodakandla