错误1: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdvice': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [D:/Softs/Work/tomcat-6.0.24/webapps/Struts2iBatis2Spring2/WEB-INF/classes/config/spring-db.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:/Softs/Work/tomcat-6.0.24/webapps/Struts2iBatis2Spring2/WEB-INF/classes/config/spring-db.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: warning no match for this type name: com.fremont.record.service.impl [Xlint:invalidAbsoluteTypeName] 原因:spring的aop插入点配置的不对。 解决办法:更改表达式的配置,要具体到某个类的某个方法!