上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 110 下一页
摘要: newInstance()在 java9中已被弃用 JAVA9之前用法 1 Class.forName("类的全限定名").newInstance(); JAVA9之后用法 1 Class.forName("类的全限定名").getDeclaredConstructor().newInstance( 阅读全文
posted @ 2019-10-14 21:38 陈彦斌 阅读(3797) 评论(0) 推荐(0)
摘要: 错误截图 分析原因 首先,给定的异常提示信息并不精准,有多个错误原因都会抛出该异常。mybatis出现这个问题,通常是由Mapper interface和对应的xml文件的定义对应不上引起的,这时就需要仔细检查对比包名、xml中的namespace、接口中的方法名称等是否对应。我之前就因为称忘记在x 阅读全文
posted @ 2019-10-12 00:07 陈彦斌 阅读(526) 评论(0) 推荐(0)
摘要: 方式一:通过properties 元素的子元素来传递数据 例如: 1 <properties> 2 <property name="driver" value="com.mysql.jdbc.Driver" /> <!-- 驱动类型 --> 3 <property name="url" value= 阅读全文
posted @ 2019-10-11 16:36 陈彦斌 阅读(3833) 评论(0) 推荐(1)
摘要: 平时没怎么注意,今天用Eclipse自动生成Set Get方法时提示错误,错误信息如下: The operation is not applicable to the current selection.Select a field which is not declared as type var 阅读全文
posted @ 2019-10-10 23:32 陈彦斌 阅读(2873) 评论(0) 推荐(1)
摘要: 一、下载文件 有需要的朋友,请自行到百度云下载 链接:https://pan.baidu.com/s/13Cf1VohMz_a0czBI05UqJg 提取码:cmyq 二、安装MySql 2.1、运行安装包:mysql-5.5.25a-winx64.msi 2.2、 接受协议 2.3、选择安装类型 阅读全文
posted @ 2019-10-10 15:38 陈彦斌 阅读(1387) 评论(0) 推荐(1)
上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 110 下一页