Skip to content

@RestClientTest requires Jackson in classpath (I have only GSON) #7431

@malafeev

Description

@malafeev

Spring boot version: 1.4.2.RELEASE

From documentation:

The @restclienttest annotation can be used if you want to test REST clients. By default it will auto-configure Jackson and GSON support,

But I have only GSON in classpath and I expect it should work, but:

java.lang.NoClassDefFoundError: Could not initialize class org.springframework.boot.test.autoconfigure.web.client.RestClientExcludeFilter

java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/Module

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions