06 2017 档案
applicationContext.xml种database配置戳错
摘要:applicationContext.xml配置database时出现错误 1. 2. 解决方法: 1. mysqlURL在高版本需要指明是否进行SSL连接,在MySQL连接字符串url中加入ssl=true或者false即可 2. URL后添加添加&serverTimezone=UTC 解决后如下 阅读全文
posted @ 2017-06-29 17:08 theLazarus 阅读(349) 评论(0) 推荐(0)
java.io.ioexception:Could not find resource
摘要:在IDEA中,resources文件夹存放各类资源配置文件,java文件夹只用来存放java文件。 如果将.xml或.properties文件放在java目录下将提示无法找到资源文件Could not find resource 阅读全文
posted @ 2017-06-05 14:37 theLazarus 阅读(1065) 评论(0) 推荐(0)
Type interface service.UserImp is not known to the MapperRegistry.
摘要:MyBatis显示错误: 原因: 关系映射文件的命名空间出错 `` 应命名为接口地址: `` 阅读全文
posted @ 2017-06-03 21:22 theLazarus 阅读(500) 评论(0) 推荐(0)