I am trying JBOSS Eap 6.4 to 7.2 migration.
My project runs fine on jboss eap 6 server. but when I try to deploy it on jboss eap 7.2 server I get following error.
Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'DUMMY' defined in ServletContext resource: Invocation of init method failed; nested exception is java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
Why this is happening and how to solve it?
Adding this statement in VM Arguments solved my issue:
Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
I took reference from here,
http://developerblogging.blogspot.com/2013/04/javalangabstractmethoderror.html
posting the answer, just so if anyone facing the same issue can refer.