练习AOP:面向方面编程时,运行后发现以下问题
在网上查看了很多资料,各个方面的解释都有,最后发现时自己的包名写错了
<aop:pointcut expression="execution(…)中的类名写错了导致出现了错误,更正后不报错。此错误应该是BeanCreationException,在xml中写错一个字母也有可能出很麻烦的问题。
Exception encountered during context initialization - cancelling refresh attempt: org.springframewor
最新推荐文章于 2024-08-18 14:42:42 发布