As per the project requirement, i need to upgrade my JDK1.6.0_45 to JDK1.8.
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
How can i fix this issue ?
Or any idea to migrate from JDK1.6 to JDK1.8 ,what action i need to take ?
For starters you're going to also need to upgrade to a newer JBoss. Everything up to JBoss AS 7 does not run on Java 8, so you'll need at least Wildfly 8.
Similarly, if you want Java 9 you'll need Wildfly 11.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With