If one of your Test Class works but the remaining classes in test suite does not work. (Fails when running mvn clean install) Then add the following annotation on every test class. @AutoConfigureTestDatabase(replace = Replace.ANY)