java.lang.NoClassDefFoundError: org/springframework/mock/web/MockAsyncContext
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Samebug tips
- Expert tip
You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA
- Expert tip
If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.
Solutions on the web
via Stack Overflow by Brett
, 1 year agovia Stack Overflow by jrock2004
, 2 years agovia Stack Overflow by 10GritSandpaper
, 2 years agovia Stack Overflow by aatish thakre
, 2 years agovia Stack Overflow by user447607
, 1 year agovia osdir.com by Unknown author, 2 years ago
java.lang.ClassNotFoundException: org.springframework.mock.web.MockAsyncContext
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2693)
at java.lang.Class.getDeclaredMethods(Class.java:1967)
at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
at grails.test.spock.IntegrationSpec.initRequestEnv(IntegrationSpec.groovy:96)
at grails.test.spock.IntegrationSpec.setup(IntegrationSpec.groovy:62)