Pointcut is not well-formed: expecting 'name pattern' at character position 49

1、报错如下图:

Pointcut is not well-formed: expecting ‘name pattern’ at character position 49
Pointcut is not well-formed: expecting 'name pattern' at character position 49

2、报错原因如下:

配置aop报错:原因是配置切点表达式的时候报错了:

3、解决方式如下:

Pointcut is not well-formed: expecting 'name pattern' at character position 49

4、运行正常效果图如下:

Pointcut is not well-formed: expecting 'name pattern' at character position 49