java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonProcessingException

When I run junit test, encountered this error: java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/JsonProcessingException

Solution: add the following dependencies:


			com.fasterxml.jackson.core
			jackson-core
			2.1.0
		
		
			com.fasterxml.jackson.core
			jackson-databind
			2.1.0
		
		
			com.fasterxml.jackson.core
			jackson-annotations
			2.1.0
		

Reference:

1. http://stackoverflow.com/questions/14333709/spring-mvc-3-2-and-json-objectmapper-issue

你可能感兴趣的:(J2EE)