Bug
Charles.启明
The result will not accompany you to exercise, self-discipline changes your life.
展开
-
Cause: java.lang.IllegalArgumentException: invalid comparison: java.util.ArrayList and java.lang.Str
翻译过来就是原因:java.lang.IllegalArgumentException:无效比较:java.util.ArrayList和java.lang.String这个情况在list集合查找数据的sql中出的问题,在接受list的时候加了判断 list!=’’ ,引起了集合与String类型的比较<choose> <when test="names!= ...原创 2020-04-24 09:21:13 · 1533 阅读 · 0 评论 -
@Value取yml文件值为null
之前写了一篇@Value取值问题 今天又莫名其妙的失效了先看看这次的代码@Componentpublic class ComTest { private static String mode; private static String suffix; private static String prefix; @Value("${spring.thymeleaf.mode...原创 2019-07-15 14:46:12 · 3423 阅读 · 0 评论 -
Exception encountered during context initialization - cancelling refresh attempt: org.springframewor
Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'receiptService': Unsa...原创 2019-07-24 14:19:15 · 716 阅读 · 1 评论