diff --git a/kernel-d-groovy/groovy-spring-boot-starter/src/main/java/cn/stylefeng/roses/kernel/groovy/starter/GunsGroovyAutoConfiguration.java b/kernel-d-groovy/groovy-spring-boot-starter/src/main/java/cn/stylefeng/roses/kernel/groovy/starter/GunsGroovyAutoConfiguration.java index a094017f5..faf2bad1d 100644 --- a/kernel-d-groovy/groovy-spring-boot-starter/src/main/java/cn/stylefeng/roses/kernel/groovy/starter/GunsGroovyAutoConfiguration.java +++ b/kernel-d-groovy/groovy-spring-boot-starter/src/main/java/cn/stylefeng/roses/kernel/groovy/starter/GunsGroovyAutoConfiguration.java @@ -47,7 +47,7 @@ public class GunsGroovyAutoConfiguration { */ @Bean @ConditionalOnMissingBean(GroovyApi.class) - public GroovyApi fileOperatorApi() { + public GroovyApi groovyApi() { return new GroovyOperator(); }