bug总结
「已注销」
这个作者很懒,什么都没留下…
展开
-
Failed to load ApplicationContext的异常处理
***wait 待总结 Failed to load ApplicationContext的异常处理 该异常是指无法加载ApplicationContext类,可能的原因有:测试类中ContextConfiguration注解中属性classpath地址配置错误,修改路径即可路径问题 切面类中,增强方法注解中缺少属性的配置,加入缺少的属性即可...原创 2018-08-28 15:31:10 · 829 阅读 · 0 评论 -
mybatis 配置文件的翻译
https://www.cnblogs.com/GaiDynasty/p/4088531.html有关于大文本的字段的处理`<table schema="" tableName="t_chapter"> <columnOverride column="image_content" ja原创 2018-08-31 15:58:05 · 232 阅读 · 0 评论 -
分页大bug!!!!java.util.ArrayList cannot be cast to com.github.pagehelper.Page
https://blog.csdn.net/qq_16517483/article/details/72803043#%E9%87%8D%E8%A6%81%E6%8F%90%E7%A4%BA原创 2018-08-29 11:05:40 · 4536 阅读 · 2 评论 -
Git团队协作的命令
Git团队协作的命令首先 明确git有 工作区,可以理解为你创建的工作文件夹,eclipse的项目。 版本库==本地仓库,版本库里面包含缓存区和本地分支master 远程仓库,团队使用的共同的仓库。 工作区和版本库的示意图,图片原地址 然后多人协作提交代码的时候 1 git add . 将当前文件提交到版本库的缓存区,也就是隐藏文件夹.git里面的index文件。 2.g...原创 2018-08-03 20:09:27 · 522 阅读 · 0 评论 -
result maps collection already contains value for com.sjzc.always.mapper.classmapper.baseresultmap
result maps collection already contains value for com.sjzc.always.mapper.classmapper.baseresultmap 翻译: 结果映射集合已经包含了com.sjzc.c.always.mapper的值1。看你自己代码,报错那个mapper,肯定有重复的代码,仔细找找。一般是由于逆向工程生成了重复的代码,原因好像...原创 2018-09-04 19:26:32 · 1138 阅读 · 0 评论 -
resultType为Vo映射类想返回list一直返回null的bug
好像和model类有关系,这种和配置文件放在一起应该只能返回一个类,不能返回一个list。。。换成resultmap试试原创 2018-09-03 17:29:08 · 1246 阅读 · 0 评论 -
Mybatis Integer类型,如果传入的值为0 被mapper解析为空字符串
哇,又哭啦,血泪史啊,为什么我能完好无误的跳进任何一个坑,然后吭叽吭叽半天找不到原因哭唧唧哇~~~!!!! 先来bug代码 impl层List<BgChapterVO> listChapterVO=new ArrayList<>(); Map map=new HashMap<>(); map.put("chapterId"...原创 2018-09-10 16:54:45 · 2842 阅读 · 3 评论 -
==和equals的区别
==和equals的区别1、 int x = 10; int y = 10; String str1 = new String(“abc”); String str2 = new String(“abc”); System.out.println(x == y); // 输出true System.out.println(str1 == str2); // 输出false ==比...原创 2018-08-03 17:21:39 · 116 阅读 · 0 评论