gpt4 book ai didi

java - 得到 JdkVersion classNotFoundException

转载 作者:行者123 更新时间:2023-12-02 11:48:20 25 4
gpt4 key购买 nike

我已将 spring 版本从 4.2.3 更新到 5.0.2,并将安全性从 5.0.1 更新到 5.0.10 并使用 spring -flex版本1.6.0.RC1

像这样使用 BlazeDS 依赖项。

    <!--=| BlazeDS Dependencies |=-->
<dependency org="com.adobe.blazeds" name="blazeds-core" rev="4.0.0.14931"/>
<dependency org="com.adobe.blazeds" name="blazeds-common" rev="4.0.0.14931"/>
<dependency org="com.adobe.blazeds" name="blazeds-remoting" rev="4.0.0.14931"/>

但是我遇到了以下异常。

  SEVERE: Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_messageBrokerDefaultHandlerMapping': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_messageBroker': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: MessageBroker initialization failed; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/JdkVersion
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:591)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:502)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:310)

最佳答案

Flex Bean _messageBroker 初始化失败。似乎只支持 spring 4.X,并且 Spring 5.X 中已弃用 JdkVersion

关于java - 得到 JdkVersion classNotFoundException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48058280/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com