忘记什么原因了,好像是eclipse还是maven的eclipse插件在生成classpath的时候,判断如果有aspectj,就直接忽略
因此在在maven的pom.xml文件里面要添加上如下配置
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<ajdtVersion>none</ajdtVersion>
<wtpversion>2.0</wtpversion>
<downloadSources>true</downloadSources>
<downloadJavadocs>false</downloadJavadocs>
</configuration>
</plugin>
仅此记录~~~
为解决Maven Eclipse插件在生成classpath时忽略AspectJ的问题,本文介绍了一种通过在pom.xml中配置maven-eclipse-plugin插件来规避该问题的方法。
4087

被折叠的 条评论
为什么被折叠?



