I created a new java project using java 1.8 on eclipse and added the JAXB project facet version 2.2 in the project properties and selected Disable Library Configuration for