使用 AspectJ 配置 SpringSource 工具套件

发布于 2024-08-22 22:59:12 字数 180 浏览 3 评论 0原文

如何配置 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

太阳公公是暖光 2024-08-29 22:59:12

Spring项目可以同时是AspectJ项目。

要将项目配置为 AspectJ,请在 Eclipse 中右键单击您的项目,然后选择配置/转换为 AspectJ 项目
此外,您可以通过选择 Spring Tools/Enable Spring Aspect Tooling 来启用 Spring Aspect Tooling

Spring 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文