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