Eclipse Mars : The configured runtime is insufficient to provide an implementation for JAXB2.2

Tianyu Zhu picture Tianyu Zhu · Sep 17, 2015 · Viewed 17.7k times · Source

Eclipse version : Mars. JDK 1.8.

I want to create a JAXB project. In the JAXB Facet page, there is the following error:

The configured runtime is insufficient to provide an implementation for JAXB2.2

Could you give me some suggestions on how I can fix it?

Answer

josepainumkal picture josepainumkal · Jun 15, 2017

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.)