代码改变世界

阅读排行榜

Tomcat出现The origin server did not find a current representation for the target resourc...

2019-01-22 23:08 by CCG波克, 15793 阅读, 收藏,
摘要: 访问页面出现404 解决方法: https://blog.csdn.net/dbc_121/article/details/79204340 我的问题主要还是在tomcat调整上, 对了,关于localhost:8080/XX XX在web.xml上查看 阅读全文

the import XXXX cannot be resolved 解决方法

2018-10-28 00:17 by CCG波克, 7473 阅读, 收藏,
摘要: 明明XXX类完全没问题 突然就报错了 解决方法: 原因一:一个项目引用了兄弟项目的类,报错The import XXX cannot be resolved 解决办法:需要在引用的兄弟项目右键选择Maven项,点击update ProjectConfiguration,ok! 原因二:重构一下jdk 阅读全文

Uncaught TypeError: Cannot read property 'getters' of undefined

2019-03-16 23:27 by CCG波克, 6502 阅读, 收藏,
摘要: vuex下新建的模板没有加 阅读全文

使用PageHelper插件分页结合mybatis返回的列表个数不对问题解决

2019-01-11 13:09 by CCG波克, 4661 阅读, 收藏,
摘要: 问题描述:spring mvc+mybatis项目中,当使用PageHelper插件进行分页查询时,查到的总数据量值是正确的,但是查询当前页返回的列表个数不对。比如每页查询10条,返回2条或者3条。resultMap使用了association返回复杂属性。 格式如下: <resultMap typ 阅读全文

对象是存入cookie中需要注意

2019-04-21 22:39 by CCG波克, 2670 阅读, 收藏,
摘要: 直接把对象存入cookie中的话,会转为字符串的 cookie中保存的都是字符串 所以取出来后还需要进行转换,转换成对象 JSON.parse()进行转换 阅读全文
1 2 3 4 5 ··· 8 下一页