I upgraded from Spring Boot 2.0.6 to 2.1.3 and now...
# mockk
p
I upgraded from Spring Boot 2.0.6 to 2.1.3 and now my test beans defined in mockk suddenly stopped working.
Copy code
Caused by: org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class com.example.core.feature.general.MyService$ByteBuddy$XNiBjGz8$ByteBuddy$rk2gOXmp: Common causes of this problem include using a final class or a non-visible class; nested exception is org.springframework.cglib.core.CodeGenerationException: java.lang.NoClassDefFoundError-->com/example/core/feature/general/MyService$ByteBuddy$XNiBjGz8$ByteBuddy$rk2gOXmp
I found this: https://github.com/raphw/byte-buddy/issues/486 Could it be somehow related to ByteBuddy? I know that Spring Boot now supports Java 11 for the first time.