Project startup error NestedIOException: ASM ClassReader failed to parse class file

Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [D:\project\tydic\ICServer\ic-process\target\classes\com\tydic\ic\process\message\HashMapAdapter.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: class path resource [javax/xml/bind/annotation/adapters/XmlAdapter.class]; nested exception is java.lang.IllegalArgumentException
    at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents

Project jdk1.6, spring 3.2.4

After investigation, the jdk environment of the idea project is caused by 1.8. Modify the project configuration and solve the problem

Guess you like

Origin blog.csdn.net/noob9527/article/details/100336458