Error at:: 0 can ' t find referenced pointcut XXX

Source: Internet
Author: User

Because the framework version used by the company is relatively long, the existing framework needs to be upgraded. The project uses the latest version of Struts/spring/hibernate and uses the latest version of JDK 1.7 and the latest Tomcat 7.

Add Spring's latest version 3.2 related jar package to the project's classpath, and install JDK 1.7 to configure the relevant environment variables. Configure Tomcat 7 related parameters (such as Tomcat directory path, JDK, etc.), publish and run the project, the result is an exception, the last sentence of this exception is this:

Error at:: 0 can ' t find referenced pointcut XXX

On the internet for a long time, only to find that the JDK version is too high, resulting in some of the previous project jar package is not available, the specific jar package is Aspectjrt.jar and Aspectjweaver.jar. ASPECTJ is a tangent-oriented framework, ASPECTJ defines the AOP syntax, which has a dedicated compiler to generate class files that conform to the Java Byte encoding specification.

Workaround:

1. Change the JDK version from 1.7 to 1.6, but this scenario is inappropriate due to the requirements within the group

2. Replace two jar packs with the latest package

In http://www.eclipse.org/aspectj/downloads.php Download the latest version of Aspectj-1.7.2.jar, and unzip the jar pack zip to get the newest version of Aspectjrt.jar and Aspectjweaver.jar, and finally replace the two packages with the long version of the package in the project to add the new version of the jar to classpath.

Reprint: http://www.xuebuyuan.com/625368.html

Error at:: 0 can ' t find referenced pointcut XXX

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.