My tests were failing because of a class not found exception on
import com.jayway.jsonpath.InvalidPathException;
within
org.springframework.test.util.JsonPathExpectationsHelper;
Manually adding the jayway dependency to my maven pom removed this error and my test ran as expected.
Have I found a bug, or do I need to add a different spring jar as well as spring test ?
External dependencies (e.g., JUnit, Mockito, Easy Mock, JayWay, etc.) are not included in Spring, so it is necessary to explicitly add them (Ant/Maven/Ivy dependency, or jar files) to the project’s classpath.