
Error
长_卿
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
级联赋值无法给属性类赋值的解决办法
Mapper.xml文件的有关内容如下: <select id="getComplexEmpById" resultMap="getComplexEmpById"> SELECT t.id ,t.`last_name` , t.`gender` , t.`email` ,t.`depat` , d.`id` , d.`name` FROM tb1_employee t , department d WHERE t.id = #{id} and t.dep原创 2022-01-03 11:44:12 · 453 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Type interface dao.EmployeeMapper2 is not known to the M
//测试通过resultMap进行高级映射返回对象 @Test public void test() throws IOException { SqlSessionFactory sqlSessionFactory = getSqlSessionFactory(); SqlSession sqlSession = sqlSessionFactory.openSession(); System.out.println(sqlSessionFactory); try {原创 2022-01-02 18:05:33 · 178 阅读 · 0 评论 -
警告: Ignored XML validation warning
是Spring的xml文件没有配置好名称空间导致的 配置好如图区域 , 就会解决问题转载 2021-11-13 12:37:42 · 482 阅读 · 0 评论 -
class path resource [bean1.xml] cannot be opened because it does not exist
在创建Sping项目练手时,提示"D:\JDK 1.8\JDK\bin\java.exe" -javaagent:D:\idea\IDEA_workSpace\IntelliJ_IDEA2018.3.6\lib\idea_rt.jar=56150:D:\idea\IDEA_workSpace\IntelliJ_IDEA2018.3.6\bin -Dfile.encoding=UTF-8 -classpath “D:\JDK 1.8\JDK\jre\lib\charsets.jar;D:\JDK 1.8\JD原创 2021-10-24 19:26:48 · 939 阅读 · 0 评论