diff --git a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/MetadataGenerationEnvironment.java b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/MetadataGenerationEnvironment.java index 10bd0bed46..f108830ee0 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/MetadataGenerationEnvironment.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/MetadataGenerationEnvironment.java @@ -54,6 +54,7 @@ class MetadataGenerationEnvironment { static { Set excludes = new HashSet<>(); excludes.add("com.zaxxer.hikari.IConnectionCustomizer"); + excludes.add("groovy.lang.MetaClass"); excludes.add("groovy.text.markup.MarkupTemplateEngine"); excludes.add("java.io.Writer"); excludes.add("java.io.PrintWriter");