Problem solving:
o.s.b.w.s.support.ErrorPageFilter - Forwarding to error page from request
[/marketing/fastRide] due to exception [org/codehaus/jackson/map/ObjectMapper]
java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
Cause of the problem:
there is a conflict between the imported version of jeckson jar and the version of jeckson introduced by other jars
or there is no imported version of jeckson
solution:
introduce this version of jeckson jar
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>1.9.2</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>1.9.2</version>
</dependency>
Read More:
- Spring jacjson version conflict “nosuchme” thodError:com.fasterxml.jackson.databind.ObjectMapper.canSerialize “
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0
- Spring nested exception is java.lang.NoClassDefFoundError: org/springframework/core/MethodClassKey
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project Hello
- Interpreter error /com.fasterxml.jackson.databind.JavaType
- How to Solve Error: Failed to execute goal org.codehaus.mojo:……..
- Unable to find or load master class org.codehaus.groovy.grails.cli.support
- NoClassDefFoundError: org.springframework.validation.annotation.ValidationAnnotationUtils
- java.lang.NoClassDefFoundError: org/junit/platform/launcher/TestExecutionListener
- NoClassDefFoundError: org/apache/flink/metrics/MetricGroup
- Solution to error report of Jackson coordinate introduced by spring
- Problems encountered after Maven installation or upgrade: could not find or load main class org.codehaus.plexus .class…..
- When OFBiz project starts, caused by: org.codehaus.groovy . control.MultipleCompilationErrorsException : startup failed:
- [Jackson exception] com.fasterxml.jackson . databind.JsonMappingException Exception handling method
- Error handling when ABP specifies map object during map operation
- Map to vector pair map.second sort
- com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class
- Android 9 (P) recovery upgrade Map of ‘@/cache/recovery/block.map’ failed problem analysis guide
- elasticsearch NoClassDefFoundError error creating RestHighLevelClient bean
- Easynvr operation log reports an error. Fatal error: concurrent map read and map write troubleshooting