MyEclipse 中使用 AOP 时,生成相应配置文件的方法

在 myeclipse 中,对工程添加 spring 框架后,默认生成的 applicationContext.xml 不带 AOP 名字空间,需要这样添加:

1. 删除默认生成 applicationContext.xml

2. File -> New -> Other -> MyEclipse-Spring-Spring Bean Definition -> Next 并选上 AOP

参考:在myeclipse的spring项目中添加带AOP命名空间的配置文件

鸣谢:Google Cache