java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetada

异常如下:

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [E:\apache-tomcat-8\apache-tomcat-8.0.32\webapps\EmdcAPPServer\WEB-INF\classes\com\healthlink\emdcApp\action\BoundAction.class]; nested exception is java.lang.IncompatibleClassChangeError: 

class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisitor as super class at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:301)

异常IncompatibleClassChangeError:的原因是web项目的webroot中web-inf的lib目录下的jar包冲突,存在同一个jar包的不同版本,或者是因为不同jar的版本冲突导致的

上述异常时core和asm版本不一样导致的

你可能感兴趣的:(java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetada)