Site icon NgDeveloper

[solved] java.lang.NoClassDefFoundError: com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl

java.lang.NoClassDefFoundError: com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl

 

This error will come if you have the duplicate stax jar or json jar.

If you have more than one stax jar with different versions, then remove it. [Eg” stax-1.0.1.jar, stax-1.0.2.jar etc.,], then remove the old stax jar [stax-1.0.1] and try it.

 

If you are getting the same exception still, then remove the json jar if you have it in lib then try it.

 

Feel free to post your comments/feedbacks/solutions in the below comments section……

 

 

 

 

Exit mobile version