多年来,我构建了几个利用 AspectJ 的 Java Maven 项目。所有项目都能在 Eclipse Neon 和 Maven 命令行上正确编译。然而,在 Photon 上,我收到了许多错误消息,所有这些消息都源于无法编译 AspecJ 代码。例如:pointcut test() : execution(@org.junit.Test * *(..));原因pointcut cannot be resolved to a type和before() : test() {
localLog(thisJoinPoint).info(format("*** Test execution @ %s", describe(thisJoinPointStaticPart)));}导致错误:thisJoinPoint cannot be resolved to a variable和thisJoinPointStaticPart cannot be resolved to a variable谁能告诉我如何修复 Photon 上的编译?
添加回答
举报
0/150
提交
取消