Merge branch '6.2.x'
This commit is contained in:
@@ -360,7 +360,7 @@ abstract public class AbstractClassGenerator<T> implements ClassGenerator {
|
||||
// SPRING PATCH BEGIN
|
||||
if (inNativeImage) {
|
||||
throw new UnsupportedOperationException("CGLIB runtime enhancement not supported on native image. " +
|
||||
"Make sure to include a pre-generated class on the classpath instead: " + getClassName());
|
||||
"Make sure to enable Spring AOT processing in order to pre-generate this class: " + getClassName());
|
||||
}
|
||||
// SPRING PATCH END
|
||||
byte[] b = strategy.generate(this);
|
||||
|
||||
Reference in New Issue
Block a user