Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

spring boot integration with h2 database fails

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)
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #spring #boot #integration #database #fails
ADD COMMENT
Topic
Name
7+2 =