運行@test時報錯
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.orm.hibernate3.LocalSessionFactoryBean] for bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.orm.hibernate3.LocalSessionFactoryBean
2020-07-08
ClassNotFoundException: org.springframework.orm.hibernate3.LocalSessionFactoryBean
找不到類的意思,應(yīng)該是你導(dǎo)包的時候沒有導(dǎo)入成功,你看看~