spring boot
大锅小米
stay hungay stay foolish
展开
-
springboot使用p6spy打印完整SQL
springboot使用p6spy打印完整SQLpom平常使用orm框架的时候,虽然在spring boot配置文件上面配置过orm的打印sql语句之后,并不会真正打印出完整的sqlpom <!-- https://mvnrepository.com/artifact/p6spy/p6spy --> <dependency> <groupId>p6spy</groupId> &原创 2020-12-22 17:02:48 · 687 阅读 · 0 评论 -
org.redisson.client.RedisException: ERR unknown command `EVAL`
使用的redis版本是4.0.11,去掉redis.conf配置文件里面的:rename-command EVAL “” 重启redis集群即可rename-command EVAL ""#bind 127.0.0.1port 7006protected-mode nodaemonize yescluster-enabled yescluster-node-timeout ...原创 2020-04-29 16:12:45 · 4191 阅读 · 0 评论 -
SpringBoot启动加载类ApplicationRunner
SpringBoot启动加载类ApplicationRunner实现ApplicationRunner 接口,并实现run方法,在应用启动得时候就会执行/** * @author jiang * @title: Runner * @description: TODO * @date 2019/10/1713:38 */@Componentpublic class Runne...原创 2019-10-17 13:42:50 · 187 阅读 · 0 评论