Java 获取JdkVersion classNotFoundException
我已将spring版本从4.2.3更新为5.0.2,安全性从5.0.1更新为5.0.10,并使用spring flex版本1.6.0.RC1 像这样使用BlazeDS依赖项Java 获取JdkVersion classNotFoundException,java,spring,spring-mvc,apache-flex,Java,Spring,Spring Mvc,Apache Flex,我已将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 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"/>
Flex Bean\u messageBroker初始化失败。
似乎它只支持Spring4.X,而JdkVersion在Spring5.X中被弃用了。SpringFlex已经有3年多没有激活了。基本上,它已被放弃,不会更新为与Spring5兼容。
JdkVersion
类已在Spring5中删除,因此SpringFlex将永远无法与Spring5一起使用。非常感谢您
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)