Mockito is pulling in the Byte Buddy Agent which might not match the right Byte Buddy version it has on classpath.