工作中遇到问题总结
weixin_45096138
这个作者很懒,什么都没留下…
展开
-
springboot和spring cloud版本兼容问题
自己搭建的一个项目中从spring boot到spring boot的时候出现启动报错:Correct the classpath of your application so that it contains a single, compatible version of org.springframework.boot.builder.SpringApplicationBuilder意思是:纠正应用程序的类路径,使其包含org.springframework.boot.build . sprin原创 2020-12-11 19:02:55 · 1371 阅读 · 0 评论 -
Freemarker 比较大小
第一次写freeamark问题:<#if db.s >1>出现异常 java.lang.RuntimeException: {"msg":"解析freemarker失败Can't compare values of these types. Allowed comparisons are between two numbers, two strings, two dates, or two booleans.\nLeft hand operand is a str...原创 2020-09-24 18:51:25 · 1361 阅读 · 0 评论 -
递归算法
@Service("itgEmployeeService")class ItgEmployeeServiceImpl extends BaseCrudServiceImpl implements ItgEmployeeService { @Resource private ItgEmployeeDao itgEmployeeDao; @Resource priva...原创 2020-01-07 16:49:11 · 92 阅读 · 0 评论 -
将集合按某些字段组合分组成并转为map类型对象
//集合分组方法 private static Map<String, List<BlNbomModel>> getListGroup(List<BlNbomModel> list) { HashMap<String, List<BlNbomModel>> ret = new HashMap<>();...原创 2020-01-07 16:17:15 · 597 阅读 · 0 评论