03 2021 档案
Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource mapper/StudentMapper.xml
摘要:基于mapper接口使用mybatis。出现的报错信息: org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession.### The error may exist in mapper/Studen
阅读全文
使用eclipse创建maven的war工程出现的pom.xml文件的<packaging>war</packaging>报错解决方式
摘要:在使用eclipse创建maven的war工程后,出现的报错如下: 解决步骤: 在项目上右击 >点击properties >选中Project Facets,然后进行以下操作。 最后Apply and Close之后,就会发现报错没有了,文件对比多出了以下文件。
阅读全文
Mybatis的mapper接口动态代理使用JDK代理
摘要:在学习Mybatis的mapper接口动态代理使用JDK代理时,遇到的报错: org.apache.ibatis.exceptions.PersistenceException:### Error building SqlSession.### The error may exist in User
阅读全文
Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
摘要:报错信息: 解决方式: 更换连接数据库的驱动包。 原本的: <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.38</version> </dependen
阅读全文