This page needs tagging. Please add keywords describing what this page is about.When doing integration tests with Maven and JUnit, keep in mind that Maven will setup several tests in parallel. This can be problematic if you are configuring a transaction manager instance and/or Spring application contexts within the setUp of your JUNit tests cases.
To avoid this problem, make sure to start the maven tests in serial mode, like this:
mvn -DforkMode=once test