Closed
Description
I am trying to upgrade to my sample project to Spring Boot 1.4.0.RELEASE from 1.4.0.RC.
Almost no change in codes but in the new version(1.4.0.RELEASE ) @jsontest will raise NoClassDef exception when run my test codes.
I have to add a new dependency in test scope to avoid this exception.
<!--test -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.7</version>
<scope>test</scope>
</dependency>
I am always using Jackson to process JSON in this sample.