First, background: When starting Tomcat, error:
Java.lang.IncompatibleClassChangeError:class Org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface Org.springframework.asm.ClassVisitor as Super class
Second, cause: Spring-test version number and Spring-core and other related to the spring version of the inconsistency caused.
Third, the solution: The version number is defined as a consistent solution.
Iv. Summary: if Tomat error Java.lang.IncompatibleClassChangeError: You can consider whether it is a jar package conflict . For specific conflicts, look at the information that follows to find out which jar package is conflicting.
such as the Spring jar package conflict, can be based on
Class Org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface Org.springframework.asm.ClassVisitor as Super class
It can be seen that spring's jar package
Java.lang.IncompatibleClassChangeError: You can consider whether a jar package conflict