日期:2014-05-18  浏览次数:20797 次

spring的问题,好郁闷啊,在线等
<!--   dao事物代理   -->
<bean   id= "employeeProxy "
class= "org.springframework.transaction.interceptor.TransactionProxyFactoryBean ">
<property   name= "proxyInterfaces
<list>
<value> com.IEmployee </value>
</list>
</property>

<property   name= "target
<ref   bean= "employeeHibernateDao "   />
</property>

<property   name= "transactionManager <ref   bean= "hibernateTransactionManager "   />
</property>

<property   name= "transactionAttributeSource <ref   bean= "transactionAttributeSource "   />
</property>
</bean>


<bean   id= "hibernateTransactionManager "
class= "org.springframework.orm.hibernate3.HibernateTransactionManager ">
<property   name= "sessionFactory ">
<ref   bean= "SessionFactory "   />
</property>
</bean>

<bean   id= "transactionAttributeSource "
class= "org.springframework.transaction.interceptor.MatchAlwaysTransactionAttributeSource "   />


启动的时候,老是显示Error   listenerStart
经过检查发现把这个"employeeProxy"bean的定义去掉,启动正常
但是我实在检查不出来,这个bean定义的有错???
高人帮帮忙啊,我实在没分了,全给了


------解决方案--------------------
把Exception贴出来看看