Hey, I wanna to add AOP to my web project. I download ajdt2.0.1 for eclipse 3.4.1. But when I convert this project to AspectJ projects, I got so many compile errors which shouldn't occur. Such as "XXXDAO cannot be resolved", etc. When I remove AspectJ Capability, everything goes well. Does anyone meet this problems? Thanks in advance.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I have solved it by set ajc option with "-encoding UTF-8". That's mysterious, cause the encoding of eclipse is exactly utf-8. Does that mean ajc use my OS default encoding?