spring配置声明式事物处理报错

来源:互联网 发布:牛尔面膜怎么样 知乎 编辑:程序博客网 时间:2024/04/29 21:17
Caused by: java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting 'name pattern' at character position 37

 execution(*com.baobaotao.service..*(..))


解决方法:把第一个星后面加个空格,第一个星是返回类型,跟后面的com连一起他会误解为通配符

0 0