澎湖Java架构师的博客当你使用不合法的索引访问数组时会报数组越界这种错误,数组arr的合法错误范围是[0, arr.length-1];当你访问这之外的索引时会报这个错。例如: public class Test { public static void main(String[] args) { int...
ABOOMMMMM的博客学习动态SQL,明明代码没有问题,逻辑也是通的,参数的数量也是正确,运行起来报错: Parameter index out of range (3 > number of parameters, which is 2). StudentDao接口的StudentDao.xml内容: <mapper...