Spring. Error: caused by:java.lang.classnotfoundexception:org.aspectj.weaver.reflect.reflectionworld$ Reflectionworldexception

Source: Internet
Author: User

caused by:java.lang.classnotfoundexception:org.aspectj.weaver.reflect.reflectionworld$reflectionworldexception

1. When spring starts, the error message is as follows:

caused by:java.lang.classnotfoundexception:org.aspectj.weaver.reflect.reflectionworld$reflectionworldexception

  

The above error message occurs because the project is missing:Aspectjweaver.jar This package, which is the package required for the spring integrated ASPECTJ LTW loom.

2. Visit: https://search.maven.org, enter from this website:aspectjweaver (do not enter the. jar suffix), retrieve the jar package for download.

  Attention:

The spring version I'm using is: 4.3.7. Download Aspectjweaver.jar When the version of 1.9.x, the project has been unable to start (for specific reasons not to troubleshoot),

Change the version to: 1.8.4, the project started successfully.

If there is a problem, welcome to correct!!!

If reproduced, please indicate source: https://www.cnblogs.com/Charles-Yuan/p/9537865.html

Spring. Error: caused by:java.lang.classnotfoundexception:org.aspectj.weaver.reflect.reflectionworld$ Reflectionworldexception

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.