Open norbertspiess opened 2 years ago
will this actually be solved with https://github.com/thymeleaf/thymeleaf-testing/pull/22? I see that mockito 4 is there as dependency..
yes and no. It will only upgrade version 4. version 3 should stay untouched. v4 will be incompatible with the current spring build as it will work with Spring 6.
mh, so testing with Spring Boot 2.6 wil stay broken for now? @danielfernandez - maybe you can say something about that as it seems you are the relevant guy here...
I got the same error, with spring boot 2.4.12(spring core 5.3.12) and thymeleaf 3.0.12.RELEASE, mockito-core:4.2.0. Also, do you have some tutorial how to use the testing library? I follow the README to set up the most simple test case and only got this exception. Try to google but it seems there is not much resources out there?
Appreciated!
With Mockito 4, the deprecated
org.mockito.Matchers
has been removed in favour oforg.mockito.ArgumentMatchers
. Hence, the latest version fails with aClassNotFoundException
.I encountered this, while upgrading to Spring Boot 2.6.
stack trace: