Eclipse Mars:配置的运行时不足以提供JAXB2.2的实现 [英] Eclipse Mars : The configured runtime is insufficient to provide an implementation for JAXB2.2

查看:552
本文介绍了Eclipse Mars:配置的运行时不足以提供JAXB2.2的实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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的实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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