Logo TheBeArsenal

Java | Technical Handbook

unable to resolve class org.springframework.test.util.MatcherAssertionErrors

Solution
Replace 'import static org.springframework.test.util.MatcherAssertionErrors.assertThat;' with 'import static org.hamcrest.MatcherAssert.assertThat;'