dromara/forest

springboot3.2.0启动信息警告提示

wangran99 opened this issue · 9 comments

使用的版本:

com.dtflys.forest
forest-spring-boot3-starter
1.5.33

2023-11-27 14:16:36 INFO 10972 -- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2023-11-27 14:16:36 INFO 10972 -- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 0 Redis repository interfaces. 2023-11-27 14:16:36 WARN 10972 -- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'spring.datasource.dynamic-com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2023-11-27 14:16:36 WARN 10972 -- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAopConfiguration' of type [com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAopConfiguration$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2023-11-27 14:16:36 WARN 10972 -- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'dsProcessor' of type [com.baomidou.dynamic.datasource.processor.DsJakartaHeaderProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2023-11-27 14:16:36 WARN 10972 -- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [forestBeanProcessor] is declared through a non-static factory method on that class; consider declaring it as static instead. 2023-11-27 14:16:36 WARN 10972 -- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2023-11-27 14:16:36 WARN 10972 -- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2023-11-27 14:16:36 WARN 10972 -- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2023-11-27 14:16:36 WARN 10972 -- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2023-11-27 14:16:36 WARN 10972 -- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2023-11-27 14:16:36 WARN 10972 -- [ restartedMain] trationDelegate$BeanPostProcessorChecker : Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [forestBeanRegister]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2023-11-27 14:16:36 INFO 10972 -- [ restartedMain] c.d.f.scanner.ClassPathClientScanner : [Forest] Created Forest Client Bean with name 'recordClient' and Proxy of 'com.laowang.springboot3template.record.RecordClient' client interface 2023-11-27 14:16:37 INFO 10972 -- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8066 (http) 2023-11-27 14:16:37 INFO 10972 -- [ restartedMain] o.a.coyote.http11.Http11NioProtocol : Initializing ProtocolHandler ["http-nio-8066"] 2023-11-27 14:16:37 INFO 10972 -- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat]

我也遇到了,同上

+1

image 请尽快修复

领导不同意用有警告的框架,我临时改为原生java引入了,除了不能写配置文件,貌似无任何影响

@wangran99 我是用的编程式接口,不是定义interface那种,没法切换

有处理方案了吗?

警告好影响体验