使用 AspectJ 配置 SpringSource 工具套件
如何配置 SpringSource Tool Suite(ver 2.3.0) Spring 项目以接受 .aj
(AspectJ) 文件?
目前它无法识别 .aj
文件。
我无法添加 *.aj 文件,因为它是 Spring 项目,而不是 AspectJ 项目。
How can I configure the SpringSource Tool Suite(ver 2.3.0) Spring project to accept .aj
(AspectJ) file?
Currently it does not recognize .aj
file.
And I cannot add *.aj
file because it's a Spring project, not an AspectJ project.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Spring项目可以同时是AspectJ项目。
要将项目配置为 AspectJ,请在 Eclipse 中右键单击您的项目,然后选择
配置/转换为 AspectJ 项目
。此外,您可以通过选择
Spring Tools/Enable Spring Aspect Tooling
来启用 Spring Aspect ToolingSpring project can be an AspectJ project at the same time.
To configure your project as AspectJ right-click your project in Eclipse, select
Configure/Convert To AspectJ project
.Additionally you can enable Spring Aspect Tooling by selecting
Spring Tools/Enable Spring Aspect Tooling