这是什么错误啊。我不理它,一样可以运行,但留在那里又不好。怎么解决??
我在applicationContext.xml配置文件中,声明事务,代码是没有错的。但myeclipse还是显示有错:
错误信息:Class ' org.springframework.aop.support.DaultBeanFactoryPointcutAvisor' not found
<aop:config>
<!--
只对GoodsBiz添加事务支持,因为前面配置的transactionManager
是专对Hibernate的事务管理器 。
-->
<aop:pointcut id="serviceMethods"
expression="execution(* com.yk.jb.myOffice.biz.*.*(..))" />
<!-- 织入 -->
<aop:advisor advice-ref="txAdvice" pointcut-ref="serviceMethods" /> //在这里报错!
</aop:config>