摘要: Error creating bean with name 'mapper' defined in class path resource [applicationcontext.xml]: Cannot resolve reference to bean 'factory' while setti 阅读全文
posted @ 2019-01-27 21:12 你知道所有的未来 阅读(1127) 评论(0) 推荐(0) 编辑
摘要: 报错的原因是 在java语法里,方法的形参以及方法体中的变量都是局部变量,不能使用访问权限修饰符public,private,protected。把Reader()方法里的所有访问权限修饰符private删除或换成final就可以。 阅读全文
posted @ 2019-01-26 13:18 你知道所有的未来 阅读(578) 评论(0) 推荐(0) 编辑
摘要: 控制台报错: 创建在类路径资源[applicationcontext]中定义名为“工厂”的bean时出错。:在设置bean属性“dataSource”时,无法解析对bean“dataSource”的引用;嵌套异常是org.springframe .beans.factory。BeanCreation 阅读全文
posted @ 2019-01-25 22:55 你知道所有的未来 阅读(919) 评论(0) 推荐(0) 编辑
摘要: 控制台异常: parsing XML document from class path resource [applicationtext.xml]; nested exception is java.io.FileNotFoundException: class path resource [ap 阅读全文
posted @ 2019-01-25 22:52 你知道所有的未来 阅读(172) 评论(0) 推荐(0) 编辑