坑之Pointcut is not well-formed: expecting 'name pattern' at character position异常
来源:互联网 发布:网络不安全怎么解决 编辑:程序博客网 时间:2024/05/22 03:31
配置aop报错:原因是配置切点表达式的时候报错了:
切点表达式配置方法:
<aop:config proxy-target-class="false"><aop:aspect ref="corletPointCutTest">
<aop:pointcut id="allRenderProcess"
expression="execution(* com.hsbc.esf.requestprocessing.portlet.impl.PortletFrontController.doRenderService(..)) || execution(* com.hsbc.esf.requestprocessing.portlet.impl.PortletFrontController.processRenderRequest(..))||execution(* com.hsbc.esf.requestprocessing.portlet.impl.PortletFrontController.doActionService(..))" />
<aop:before method="checkPorletPoint" pointcut-ref="allRenderProcess"/>
</aop:aspect>
</aop:config>
<aop:config> <aop:advisor advice-ref="txAdvice"pointcut="execution(* com.taotao.content.service.*.*(..))" /></aop:config>
注意星号后面要有个空格,一定要有空格,要空格,空格!!!!!
阅读全文
0 0
- 坑之Pointcut is not well-formed: expecting 'name pattern' at character position异常
- Pointcut is malformed: Pointcut is not well-formed: expecting 'name pattern' at character position 5
- Pointcut is not well-formed: expecting 'name pattern' at character position
- Pointcut is not well-formed: expecting 'name pattern' at character position
- Pointcut is not well-formed: expecting 'name pattern' at character position 36
- Pointcut is not well-formed: expecting 'name pattern' at character position
- Pointcut is not well-formed: expecting 'name pattern' at character position
- Pointcut is not well-formed: expecting 'name pattern' at character position
- Pointcut is not well-formed: expecting 'name pattern' at character position
- 配置aop报错: Pointcut is not well-formed: expecting 'name pattern' at character position
- 配置AOP出错:Pointcut is not well-formed: expecting 'name pattern' at character position
- Pointcut is not well-formed: expecting 'name pattern' at character position
- spring aop 报错Pointcut is not well-formed: expecting ‘name pattern’ at character position 48 executi
- AOP注解异常: Pointcut is not well-formed: expecting '(' at character position 0 pointCut ^ 1
- Pointcut is not well-formed: expecting '(' at character position 0 anyMethod
- java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting '(' at character position
- java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting 'name pattern' at charac
- java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting ‘name pattern’
- 字符设备 和 input 设备--文件如何变成设备
- kotlin学习笔记——Kotlin Android Extensions
- SSM框架——详细整合教程(Spring+SpringMVC+MyBatis)
- SQL server ROW_NUMBER()函数使用
- JVM系列三:JVM参数设置、分析
- 坑之Pointcut is not well-formed: expecting 'name pattern' at character position异常
- Qt 开启进程,查找进程,关闭进程
- 文章标题
- JavaScript(十一)异步处理
- Facebook开发者创建APP生成KeyHash
- 设置div的overflow:scroll,但是在手机上滑动的时候有点卡顿
- JVM系列四:生产环境参数实例及分析【生产环境实例增加中】
- PatatiumWebUi下载导入部署 (java+selenium 基于selenium webdriver 自动化测试框架)
- rsync部署及使用