![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java高级
文章平均质量分 53
WS_Change
思辨,自省,乐观
UP UP UP
展开
-
【ERROR】 [main] - org.apache.ibatis.exceptions.PersistenceException:
今天在做第二个项目的时候一直提示有错误,翻译后显示sql语法错误,但是一直不知道在哪,附错误截图再附上对应的sql语句部分<mapper namespace="mapper.StudentMapper"> <select id="getStudentAll" resultType="domain.Student"> select * from student </select> <insert id="addStudent" paramet.原创 2021-11-24 16:01:06 · 1270 阅读 · 0 评论 -
【总结】创建mybatis项目出现的一些错误以及解决方案
在学校跟老师做的项目,全程基本copy(手敲)下来的,但是仍遇到了一些错误,折腾了许久(接近一周,应该是我太菜,不懂的地方太多所以做了很久……),在此汇总一下错误。目录1、关于DTD文件导入问题2、关于Cannot find class: com.mysql.jdbc.Driver问题3、关于The driver has not received any packets from the server与java.net.ConnectException: Connection refuse.原创 2021-11-17 18:35:42 · 1171 阅读 · 0 评论