[英]Got JdkVersion classNotFoundException
I have Updated spring version from 4.2.3 to 5.0.2 and security from 5.0.1 to 5.0.10 and using spring-flex version 1.6.0.RC1 . 我已经将spring版本从4.2.3更新到5.0.2 ,将安全性从5.0.1更新到5.0.10,并使用spring-flex版本1.6.0.RC1 。
using BlazeDS Dependencies like this. 使用这样的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"/>
But i am getting following exception. 但是我正在追随异常。
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)
the Flex Bean _messageBroker initialized failed. Flex Bean _messageBroker初始化失败。 It seems it only support spring 4.X and JdkVersion is deprecated in Spring 5.X
似乎它仅支持Spring 4.X,而Spring 5.X中不推荐使用JdkVersion。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.