转载
湖工戏精
这个作者很懒,什么都没留下…
展开
-
基于SSM的网上订餐系统-基于Java Web的网上订餐系统
基于SSM框架实现一个校园点餐系统,包括用户端和管理员端; 前台主要功能有用户注册, 用户登录, 我的购物车、我的订单、商品评论、校园资讯等; 管理员端主要功能有:用户管理、商品管理、订单管理、评论管理、资讯管理等运行环境jdk8+tomcat8+mysql5.6+Eclipse+maven项目技术spring+spring mvc+mybatis+layui+jsp+jquer...转载 2019-08-04 17:22:30 · 9063 阅读 · 5 评论 -
提示Value '0000-00-00 00:00:00' can not be represented as java.sql.Timestamp
代码中查询MySQL的结果集时报错,提示Value ‘0000-00-00 00:00:00’ can not be represented as java.sql.Timestamp;刚开始以为是代码中格式化结果集中的日期报错,找了一遍发现并没有对日期进行格式化,发现是查询的结果集中某数据行的日期值为0000-00-00 00:00:00,因MySQL的时间类型datetime范围是1000-0...转载 2019-08-04 17:33:07 · 170 阅读 · 0 评论 -
The reference to entity "characterEncoding" must end with the ';' delimiter
Caused by: org.xml.sax.SAXParseException: The reference to entity "characterEncoding" must end with the ';' delimiter. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper...转载 2019-08-04 17:39:29 · 151 阅读 · 0 评论 -
MySql Date_Format()出现"bad format for timestamp"错误
MyBatis中使用实体类接收查询结果,对查询的日期字段进行了Date_Format(time,’%Y-%m-%d %H:%i’),结果出现了这个错误,原因就是实体类中的日期是Date类型的,查询出的时间不能直接转换,改成用String接受就ok了。 ...转载 2019-08-04 17:44:20 · 1254 阅读 · 0 评论