Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via petrikainulainen.net by Unknown author, 1 year ago
via petrikainulainen.net by Unknown author, 1 year ago
via Stack Overflow by Pierre Rol
, 1 year ago
Status Expected :200 Actual :400 <Click to see difference>
java.lang.AssertionError: Content type expected: but was: at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:60) at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:89) at org.springframework.test.web.servlet.result.ContentResultMatchers$1.match(ContentResultMatchers.java:71) at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:141)