啓動tomcat時出現以下異常:
讀取編寫的controler類未通過:nested exception is java.
lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisit
or as super class
出現以上情況,一直以爲是spring-ams包的問題,換了幾個版本都沒能解決,最後把JAVA編譯器版本號改爲1.6就解決了。當然spring-ams包還是需要。