![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
不想加班的程序员是没有梦想的
这个作者很懒,什么都没留下…
展开
-
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request p
出现的报错信息: 可能的几种原因: 第一种:controller层里缺少注解,如@controller @responseBody 第二种:service实现类里缺少注解@Autowired 第三种:yml里面缺少配置,如图:原创 2021-02-11 13:23:32 · 362 阅读 · 0 评论 -
powerdesigner找不到自增中identity
是DBMS不正确 选择Datebase——change current DBMS 再次添加自增 已完成自增原创 2021-02-07 19:31:44 · 199 阅读 · 0 评论 -
用注解的方式写一对多的SQL语句
先添加注解,比如查询@select(语句) @result(内容) many=@many(内容) 如图: 在many后面可以添加懒加载 fetchType lazy 最后需在mybatis-config.xml里配置文件原创 2021-02-03 21:50:08 · 336 阅读 · 0 评论 -
nested exception is java.sql.SQLException: Value ‘0000-00-00 00:00:00‘ can not be represented as jav
mysql连接mybatis时间查询语句报错:SQLException: Value ‘0000-00-00 00:00:00’ can not be represented as java.sql.Timestamp 我刚开始以为是转换问题,因为我数据库时间类型是datetime,实现类写的Date,尝试用simpleDateFormat转string。也尝试过注解@DateTimeFormat或者JsonFormat等等 最后,是因为数据库数据有问题,里面有一条0-0-0 0:0:0的数据导致的原创 2021-01-20 20:35:37 · 511 阅读 · 0 评论 -
错误: 隐式超级构造函数 person ()未定义。必须显式调用另一个构造函数
小白的我,遇到的一个问题,先上图在这里插入图片描述原创 2020-11-01 15:51:25 · 1434 阅读 · 0 评论