I started to get "Found interface org.springframework.test.context.TestContext, but class was expected
" exception after spring core migration from 3.2 to 4. I'm using mvn clean test
and java 7 as maven compiler version.
any ideas what to do with that?
Fixed.
It was problem with spring test db unit library. Some description of problem here https://github.com/springtestdbunit/spring-test-dbunit/issues/46 - current version visible in maven repos 1.0.1 is not working with spring 4. So I needed to clone repo and build version 1.1.0-SNAPSHOT.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With