你的错报的的 org.hibernate.cfg.Configuration(3.0的包结构)而你的配置文件用的是net.sf.hibernate.transaction.JDBCTransactionFactory(2.0的)确定你的hibernate版本