diff --git a/src/main/java/com/alibaba/fastjson/util/TypeUtils.java b/src/main/java/com/alibaba/fastjson/util/TypeUtils.java index 3aa25c7570..159f6f3e3d 100644 --- a/src/main/java/com/alibaba/fastjson/util/TypeUtils.java +++ b/src/main/java/com/alibaba/fastjson/util/TypeUtils.java @@ -2733,6 +2733,9 @@ public static boolean isProxy(Class clazz){ if (interfaceName.equals("org.hibernate.proxy.HibernateProxy")) { return true; } + if (interfaceName.equals("org.springframework.context.annotation.ConfigurationClassEnhancer$EnhancedConfiguration")){ + return true; + } } return false; }