Eclipse Mars:配置的运行时不足以提供JAXB2.2的实现

编程入门 行业动态 更新时间:2024-10-26 18:18:30
本文介绍了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的实现

本文发布于:2023-06-01 10:49:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/413458.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Eclipse   Mars

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!