<aop:aspectj-autoproxy proxy-target-class="true"/> <aop:config> <aop:aspect id="TestAspect" ref="aspectTest"> <aop:pointcut expression="excution(* com.service.*.*(..))" id="at"/> <aop:around method="aspect" pointcut-ref="at"/> </aop:aspect> </aop:config> <bean id="test" class="com.service.impl.TestServiceImpl"></bean> <bean id="aspectTest" class="com.aspect.AspectTest"></bean> </beans>
异常信息: Pointcut is not well-formed: expecting “)” at character position 11
excution(* com.service.*.*(..))
解决方案
40
意思是说你这个切面配置的有问题吧,excution(* com.service.*.*(..))