看网上加了一下依赖,可是依旧构建不成功,烦死了
<plugin>
<groupId>org.codehaus.mojo</groupId><artifactId>aspectj-maven-plugin</artifactId>
<version>1.4</version>
<configuration>
<verbose>true</verbose>
<privateScope>true</privateScope>
<showWeaveInfo>false</showWeaveInfo>
<source>1.5</source>
<target>1.5</target>
<complianceLevel>1.5</complianceLevel>
<encoding>UTF-8</encoding>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal> <!-- use this goal to weave all your main classes -->
</goals>
</execution>
</executions>
</plugin>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.6.11</version>
</dependency>