Eclipse Mars : The configured runtime is insufficient to provide an implementation for JAXB2.2(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?
推荐答案
我遇到了同样的问题.以下修复对我有用.
I faced the same problem. Below fix worked for me.
1) Select File->New ->Project
2) Choose JAXB Project from JAXB and click Next
3) Give Project Name and click Next
4) On the next window, just Click Next
5) On the next window (titled JAXB Facets), Choose "User Library" for JAXB implementation.
Click "Download Library.." picture and choose EclipseLink 2.5.2
(or the higher version shown in the window) and click Next
This will install the library (make sure your are connected to internet.)
这篇关于Eclipse Mars:配置的运行时不足以提供 JAXB2.2 的实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse Mars:配置的运行时不足以提供 JAXB2.2 的实现


基础教程推荐
- 多个组件的复杂布局 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01