配置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>
注意星号后面要有个空格,一定要有空格,要空格,空格!!!!!