普遍的解决办法 在配置文件里加入一下代码 关掉balancer ribbon: eureka: enabled […]
点击打开Cannot format given Object as a Date
案例: SimpleDateFormat sdf = new SimpleDateFormat(“ […]
点击打开could not extract ResultSet
1.数据库字段问题 我的是这个,配置文件的数据库是老数据库导致字段没有对上 2.字符集设置问题 字符集设置为u […]
点击打开Table ‘xxx.xxx’ doesn’t exist
原因: 1.插入数据或更改数据时使用的表输入错误 2.linux的mysql区分大小写,数据库中的表名与输入的 […]
点击打开Failed to convert property value of type ‘java.lang.String’ to required type ‘java.util.Date
前端传到后台的是字符串,而Java类属性的Date日期类型,此时需要@DateTimeFormat注解即可 ① […]
点击打开Cannot determine value type from string ‘xxx‘
1.检查实体字段和数据库字段是不是一样 2.没有可能是mybatis在执行数据库字段到实体字段类型映射的过程中 […]
点击打开