如果用的spring2 則原因是缺少spring-dao.jar
如果用的是spring3(我就栽這兒了) 則原因是缺少org.springframework.transaction-3.0.4.RELEASE.jar (我這裏是3.0.4) 總之是吧dao 放到transaction 中去了。