- 博客(3)
- 收藏
- 关注
转载 关于Mapped Statements collection does not contain value for的错误分析
Mapped Statements collection does not contain value for后面是什么类什么方法之类的: 错误原因有几种: 1、mapper.xml中没有加入namespace 2、mapper.xml中的方法和接口mapper的方法不对应 3、mapper.xml没有加入到mybatis-config.xml中(即总的配置文件),例外:配置了ma
2016-12-03 11:58:22 435
原创 java 对象与对象引用
首先看段代码: import java.awt.Point; class RefTester{ public static void main(String[] arguments){ Point pt1,pt2; pt1 = new Point(100,100); pt2 = pt1; pt1.x=200; pt1.y=200; System.out.prin
2016-09-20 11:03:59 225
原创 JavaScript 方向键值的获取
function $(eleId){ //使用$作为方法名,通过元素的ID获取元素内容 return document.getElementById(eled); } document.onkeydown = function(e){ //onkeydown:键盘的键被按下的事件 alert(e.keyCode); }
2016-08-06 21:43:13 361
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人