Spring 3 MVC - 无法读取候选组件类

时间:2012-10-25 16:05:28

标签: spring-mvc weblogic

我在weblogic服务器上部署我的应用程序时遇到问题。

我尝试在“struts 2”项目中添加spring 3 MVC,但是当我指定组件扫描时出现了错误:

<Warning> <HTTP> <wks000fq> <AdminServer> <[ACTIVE] ExecuteThread: '42' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1351179993124> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: 
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [zip:D:/Projets/XXX/ZZZ/servers/AdminServer/tmp/_WL_user/YYY/x8a4s2/war/WEB-INF/lib/YYY-pres.jar!/fcdq/epepar/WWW/controleur/cdcais/AbstractActionWebET.class]; nested exception is java.lang.AbstractMethodError: org.springframework.core.type.classreading.AnnotationMetadataReadingVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
    at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:237)

我不知道该怎么办。我检查了课程,我用空课改变了它,问题不是来自班级。

0 个答案:

没有答案