title: Upgrade Java 6 to Java 8
body: <p>As per the project requirement, i need to upgrade my JDK1.6.0_45 to JDK1.8.</p>
  
  <p>I am using JBOSS 4.2.3.GA, once i am pointing to JDK1.8 bin and trying to compile the project it is throwing the below error:
  ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/C:/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/deploy/web.ear/facade.jar
  java.lang.IllegalStateException: Cannot build JAXB context</p>
  
  <p>How can i fix this issue ?</p>
  
  <p>Or any idea to migrate  from JDK1.6 to JDK1.8 ,what action i need to take ?</p>