spring学习ing,遇到的问题

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.event.internalEventListenerProcessor': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting 'name pattern' at character position 35
execution(*aop.DemoMethodService.*(..))

*和aop之间加一个空格就好了
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/xialutiya/article/details/82988720