![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具类
Flowing bytecode
一个暖炉,一杯水,一本书,时光在淅沥的雨声中慢下来。
展开
-
解决启动爆Failed to start bean ‘documentationPluginsBootstrapper‘; nested exception is java.lang.NullPo
在完成swagger配置后,然后我试着启动项目,控制台显示启动失败,报错为 Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabl原创 2022-03-17 18:10:34 · 1331 阅读 · 0 评论 -
自定义通用排序工具
工具类 运用该方法的时候记得先将查询的list出来,然后用排序,再用foreach来遍历排序。 看前端传来的值,单传字段的话,你得自己定义里面的排序方法, 第二种就是字段加上排序方法 import java.lang.reflect.Field; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.Collections; import java.util.原创 2021-12-22 16:46:59 · 82 阅读 · 0 评论