123 Star 1.6K Fork 509

GVPopengoofy / hippo4j

 / 详情

SpringBoot 1.5.9.RELEASE 采用无中间件接入方式启动报错

待办的
创建于  
2023-11-28 14:12

Search before asking

  • I had searched in the issues and found no similar issues.

Question

客户端依赖

        <dependency>
            <groupId>cn.hippo4j</groupId>
            <artifactId>hippo4j-spring-boot-starter</artifactId>
            <version>1.5.0</version>
        </dependency>

报错信息如下:



  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.5.9.RELEASE)

2023-11-28 14:08:32.928  INFO 17320 --- [           main] com.cz.CzDynamicPoolApplication          : Starting CzDynamicPoolApplication on DESKTOP-8PSLEGL with PID 17320 (D:\mycode\cz-dynamic-pool\target\classes started by lenovo in D:\mycode\cz-dynamic-pool)
2023-11-28 14:08:32.934  INFO 17320 --- [           main] com.cz.CzDynamicPoolApplication          : No active profile set, falling back to default profiles: default
2023-11-28 14:08:32.975  INFO 17320 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@c540f5a: startup date [Tue Nov 28 14:08:32 CST 2023]; root of context hierarchy
2023-11-28 14:08:33.917  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.dynamic.thread-pool-cn.hippo4j.springboot.starter.config.BootstrapProperties' of type [cn.hippo4j.springboot.starter.config.BootstrapProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:33.922  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'cn.hippo4j.springboot.starter.config.DynamicThreadPoolAutoConfiguration' of type [cn.hippo4j.springboot.starter.config.DynamicThreadPoolAutoConfiguration$$EnhancerBySpringCGLIB$$81e7913] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.112  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'httpAgent' of type [cn.hippo4j.springboot.starter.remote.ServerHttpAgent] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.115  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'cn.hippo4j.springboot.starter.adapter.web.WebAdapterConfiguration' of type [cn.hippo4j.springboot.starter.adapter.web.WebAdapterConfiguration$$EnhancerBySpringCGLIB$$eb2d45e7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.120  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'simpleApplicationContextHolder' of type [cn.hippo4j.common.config.ApplicationContextHolder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.124  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'cn.hippo4j.message.config.MessageConfiguration' of type [cn.hippo4j.message.config.MessageConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.129  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'alarmControlHandler' of type [cn.hippo4j.message.service.AlarmControlHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.133  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'serverNotifyConfigBuilder' of type [cn.hippo4j.springboot.starter.notify.ServerModeNotifyConfigBuilder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.137  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'hippo4jSendMessageService' of type [cn.hippo4j.message.service.Hippo4jBaseSendMessageService] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.143  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'defaultThreadPoolConfigChangeHandler' of type [cn.hippo4j.message.service.DefaultThreadPoolConfigChangeHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.146  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'threadPoolDynamicRefresh' of type [cn.hippo4j.springboot.starter.core.ServerThreadPoolDynamicRefresh] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.148  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'cn.hippo4j.core.config.UtilAutoConfiguration' of type [cn.hippo4j.core.config.UtilAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.159  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.cloud.inetutils-cn.hippo4j.core.toolkit.inet.InetUtilsProperties' of type [cn.hippo4j.core.toolkit.inet.InetUtilsProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.167  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'hippo4jInetUtils' of type [cn.hippo4j.core.toolkit.inet.InetUtils] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.172  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'httpScheduledHealthCheck' of type [cn.hippo4j.springboot.starter.remote.HttpScheduledHealthCheck] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.179  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.info-org.springframework.boot.autoconfigure.info.ProjectInfoProperties' of type [org.springframework.boot.autoconfigure.info.ProjectInfoProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.181  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration' of type [org.springframework.boot.autoconfigure.info.ProjectInfoAutoConfiguration$$EnhancerBySpringCGLIB$$ebfcc4ba] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.189  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'buildProperties' of type [org.springframework.boot.info.BuildProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
  __     __                       ___ ___   __ 
 |  |--.|__|.-----..-----..-----.|   |   | |__|
 |     ||  ||  _  ||  _  ||  _  ||   |   | |  |
 |__|__||__||   __||   __||_____||____   | |  |
            |__|   |__|              |:  ||___|
                                     `---'     
 :: Dynamic ThreadPool ::                 (v1.5.0)

GitHub:  https://github.com/opengoofy/hippo4j
Site:    https://www.hippo4j.cn

2023-11-28 14:08:34.191  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'threadPoolBannerHandler' of type [cn.hippo4j.core.handler.DynamicThreadPoolBannerHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.197  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'cn.hippo4j.springboot.starter.config.DiscoveryConfiguration' of type [cn.hippo4j.springboot.starter.config.DiscoveryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.197  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'hippo4jClientShutdown' of type [cn.hippo4j.springboot.starter.core.ClientShutdown] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.438  INFO 17320 --- [           main] c.h.s.starter.core.ClientWorker          : Client identify: 10.12.0.136:8881_58c69c4f51d24780a882760378f7c375
2023-11-28 14:08:34.441  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'hippo4jClientWorker' of type [cn.hippo4j.springboot.starter.core.ClientWorker] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.444  INFO 17320 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'dynamicThreadPoolSubscribeConfig' of type [cn.hippo4j.springboot.starter.core.DynamicThreadPoolSubscribeConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-11-28 14:08:34.455  WARN 17320 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat': Initialization of bean failed; nested exception is java.lang.AbstractMethodError
2023-11-28 14:08:34.462  INFO 17320 --- [           main] utoConfigurationReportLoggingInitializer : 

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2023-11-28 14:08:34.469 ERROR 17320 --- [           main] o.s.boot.SpringApplication               : Application startup failed

org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat': Initialization of bean failed; nested exception is java.lang.AbstractMethodError
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137) ~[spring-boot-1.5.9.RELEASE.jar:1.5.9.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537) ~[spring-context-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.5.9.RELEASE.jar:1.5.9.RELEASE]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) [spring-boot-1.5.9.RELEASE.jar:1.5.9.RELEASE]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) [spring-boot-1.5.9.RELEASE.jar:1.5.9.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) [spring-boot-1.5.9.RELEASE.jar:1.5.9.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) [spring-boot-1.5.9.RELEASE.jar:1.5.9.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) [spring-boot-1.5.9.RELEASE.jar:1.5.9.RELEASE]
	at com.cz.CzDynamicPoolApplication.main(CzDynamicPoolApplication.java:12) [classes/:na]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat': Initialization of bean failed; nested exception is java.lang.AbstractMethodError
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:564) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.getEmbeddedServletContainerFactory(EmbeddedWebApplicationContext.java:199) ~[spring-boot-1.5.9.RELEASE.jar:1.5.9.RELEASE]
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:162) ~[spring-boot-1.5.9.RELEASE.jar:1.5.9.RELEASE]
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:134) ~[spring-boot-1.5.9.RELEASE.jar:1.5.9.RELEASE]
	... 8 common frames omitted
Caused by: java.lang.AbstractMethodError: null
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]
	... 25 common frames omitted


Process finished with exit code 1

测试了一下,SpringBoot版本换成2.3.2.RELEASE就可以正常启动,无中间接入方式是没有适配SpringBoot1.5.*版本吗?

评论 (0)

cz 创建了任务
cz 修改了描述
展开全部操作日志

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
5408942 cz ai 1578986195
Java
1
https://gitee.com/opengoofy/hippo4j.git
git@gitee.com:opengoofy/hippo4j.git
opengoofy
hippo4j
hippo4j

搜索帮助