我的Spring配置文件中加上下面的配置,程序启动就报404,是为什么?
<tx:advice id="txAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="get*" propagation="REQUIRED" read-only="true" />
<tx:method name="del*" propagation="REQUIRED" />
<tx:method name="save*" propagation="REQUIRED" />
<tx:method name="update*" propagation="REQUIRED" />
</tx:attributes>
</tx:advice>
<aop:config>
<aop:pointcut id="servicesMethod" expression="execution(* com.yklis.service.*.*(..))" />
<aop:advisor advice-ref="txAdvice" pointcut-ref="servicesMethod" />
</aop:config>
去掉这个配置就正常