Java Spring 3.2+;运动衫上下文初始化失败。适用于Spring3.1
我一直在学习教程。我可以让它完全按原样工作。但是,如果我尝试升级到Spring 3.2.1Java Spring 3.2+;运动衫上下文初始化失败。适用于Spring3.1,java,spring,jersey,Java,Spring,Jersey,我一直在学习教程。我可以让它完全按原样工作。但是,如果我尝试升级到Spring 3.2.1 [#|2013-03-11T13:07:35.780-0400|SEVERE|glassfish3.1.2|org.springframework.web.context.ContextLoader|_ThreadID=46;_ThreadName=Thread-2;|Context initialization failed org.springframework.beans.factory.BeanD
[#|2013-03-11T13:07:35.780-0400|SEVERE|glassfish3.1.2|org.springframework.web.context.ContextLoader|_ThreadID=46;_ThreadName=Thread-2;|Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\Users\MFrancis\Dropbox\Code\ProductionQueue\target\ProductionQueue-1.0-SNAPSHOT\WEB-INF\classes\com\fettergroup\production\queue\rest\PaymentService.class]; nested exception is java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisitor as super
我还获得了使用Spring3.1.4的示例。因此,在3.1和3.2之间必须进行一些更改,这导致了此错误。只需检查是否已将所有Spring组件更新为新版本。这是类不兼容的版本错误,可能是由于编译类的版本不同。只需检查是否已将所有Spring组件更新为新版本。这是类不兼容的版本错误,可能是由于编译类的版本不同