ASM Classreader failed to parse class file-probably due to a new Java class file version that isn ' t supported yet

Source: Internet
Author: User

Severity: Context initialization failed
Org.springframework.beans.factory.BeanDefinitionStoreException:Failed to read candidate component Class:file [/home/ rocky/develop/luna_workspace/20160603workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/ App12a/web-inf/classes/app12a/controller/imagecontroller.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:file [/home/rocky/develop/luna_workspace/20160603workspace/.met adata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/app12a/web-inf/classes/app12a/controller/ Imagecontroller.class]; Nested exception is java.lang.IllegalArgumentException
-Great and beautiful------------------------------------------------------------------------------------------------------------------ -------------------------------

This project is using spring3.x, my Java version is 1.8, this hint means spring does not support this version of Java, the solution has two, 1.buildpath configuration spring3.x support of the lower version of jre,2. The Spring jar package is replaced with a later version, I chose the latter, I might need more jar packages when I chose the latter, for example, I had to add AOP to the package when I replaced spring4.0.x, but I didn't need it when I was Spring3.

ASM Classreader failed to parse class file-probably due to a new Java class file version that isn ' t supported yet

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.