为了账号安全,请及时绑定邮箱和手机立即绑定

Eclipse Photon 上的 AspectJ 编译器 - 编译问题

Eclipse Photon 上的 AspectJ 编译器 - 编译问题

白板的微信 2021-06-07 08:35:34
多年来,我构建了几个利用 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 上的编译?
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 124 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号