Closed
Description
When adding Netty as Dependency (compile 'io.netty:netty-all:4.1.6.Final'
) to my Spring Boot project my tests using TestRestTemplate.postForObject(...)
and TestRestTemplate.put(...)
aren't working anymore. I get the following error:
Failed to read HTTP message:... HttpMessageNotReadableException: Required request body is missing
Using TestRestTemplate.getForObject(...)
works fine. RestTemplate.postForObject(...)
and RestTemplate.put(...)
are also working fine so I use those as a workaround for the moment.
I am using Spring Boot version 1.4.1.RELEASE