解決啓動報錯No destination was configured. Use <destination> to add one or more destinations to the appender
原因:沒有指定 要啓動哪個環境的配置文件 spring.profiles.active=dev
解決:配置文件中指定 spring.profiles.active=dev
可能某些地方用到了特定的這個參數,比如日誌配置文件:
解決啓動報錯No destination was configured. Use <destination> to add one or more destinations to the appender
原因:沒有指定 要啓動哪個環境的配置文件 spring.profiles.active=dev
解決:配置文件中指定 spring.profiles.active=dev
可能某些地方用到了特定的這個參數,比如日誌配置文件:
ThreadLocal的使用,,,實際上相當於維護了一個Map,其中以鍵值對的形式,存儲了某一個數據被多個線程訪問所對應的值。當然這個數據只能有
JSONArray序列化日期最初用到, 這個是全局設置,會有風險。 String[] dateFormats = new String[] {"yyyyMMdd"}; JSONUtils.getM