1.org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in file [G:\ClassDemo\IDEA_WorkSpace\Maven\itheima_parent\springmvc_ssm_03\target\classes\spring\applicationContext_dao.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type ‘java.lang.String’ to required type
找不到创建 sqlSessionfactory的对象
出错的地方:
改后:
junit 测试成功,但tomcat启动失败
最新推荐文章于 2021-03-23 23:35:23 发布