我正在运行Eclipse Kepler SR2。在Project Facets中,我将Java设置为1.8版(安装了Java 8补丁)。当我尝试在版本2.1或2.2中添加JAXB Facet然后单击“需要进一步配置...”时,我配置了以下内容:
平台:通用JAXB 2.1(或2.2)
JAXB实施类型:JRE
我收到错误消息:
配置的运行时不足以为JAXB 2.1(或2.2)提供实现。
知道我为什么会收到此错误?
答案 0 :(得分:1)
Eclipse Mars : The configured runtime is insufficient to provide an implementation for JAXB2.2
可能重复尝试以下步骤。
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.)