Gradle NoClassDefFoundError XmlSlurper

If you getting this error: while building your app through Gradle, most likely that means that some of your Gradle plugins are not compatible with your version of Gradle. Consider changing either Gradle to the appropriate version or a problematic Gradle plugin. In my case, the latest com.github.ben-manes.versions plugin version was not compatible with my Gradle 6.x.

READ MORE

Spring NoClassDefFoundError: JAXBException

If you facing this error: Then the reason is Java XML Binding, it is a tool for mapping between XML documents and Java objects. These classes has been removed from internal of JDK since 11 version and moved to Jakarta EE. This transition was happened with replacing javax to jakarta in package names. javax in your stacktrace tells us that […]

READ MORE