Eclipse版本:火星。 JDK 1.8。
Eclipse version : Mars. JDK 1.8.
我想创建一个JAXB项目。在JAXB Facet页面中,出现以下错误:
I want to create a JAXB project. In the JAXB Facet page, there is the following error:
配置的运行时不足以提供JAXB2.2的实现
The configured runtime is insufficient to provide an implementation for JAXB2.2
你能给我一些关于我如何解决它的建议吗?
Could you give me some suggestions on how I can fix it?
推荐答案这是为我工作的(Eclipse Luna Service Release 2(4.4.2))。 在第三个屏幕JaxB Facet中,在 JaxB项目向导中,选择用户库作为JaxB实现。然后点击管理库从jdk / jre / lib文件夹创建一个带有 rt.jar的新库。 现在没有错误消息,向导中的完成按钮现在已启动!
Here is what that worked for me (Eclipse Luna Service Release 2 (4.4.2)). In the third screen "JaxB Facet", in the JaxB Project wizard, select "User Library" as JaxB Implementation. Then click on "Manage Libraries" to create a new library with rt.jar from jdk/jre/lib folder. Now there is no error message, and the "Finish" button in the wizard is now active !
更多推荐
Eclipse Mars:配置的运行时不足以提供JAXB2.2的实现
发布评论