0

我刚刚从 SVN 签出了一个项目,使用 maven 和 aspectj 构建。

当我尝试使用 Maven 编译时(尝试使用原始版本 3.2.5 和最新的 3.3.3),我收到以下错误(只是我使用 -X 选项获得的长日志的摘录):

[INFO] --- aspectj-maven-plugin:1.7:compile (default-aj-generate-sources) @ jcz-persistence-jpa ---
[INFO] Showing AJC message detail for messages of types: [error, warning, fail]
[ERROR] The type org.springframework.beans.factory.annotation.Autowired cannot be resolved. It is indirectly referenced from required .class files
    [path to class].java:0
(no source information available)

在过去的几个小时里,我一直在寻找它,但没有成功:有人知道这是什么原因吗?

4

0 回答 0