springboot
hkNaruto
这个作者很懒,什么都没留下…
展开
-
spring boot logback.xml 配置指向 http git nacos服务器
logging: config: http://localhost/logback.xml logging: config: https://gitee.com/hknarutofk/training/raw/master/training/src/main/resources/logback.xml原创 2021-05-25 09:06:59 · 865 阅读 · 0 评论 -
SpringBoot 2.3.4.RELEASE actuator curl动态设置日志等级 生产环境零时打开DEBUG日志 logging level
pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupI原创 2021-03-12 16:45:49 · 673 阅读 · 0 评论 -
Spring Security OAuth2.0笔记
请求命中filter:spring-security-oauth2-client:5.3.5.RELEASEorg.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter@Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterCh.原创 2020-11-20 14:27:07 · 1350 阅读 · 0 评论 -
Spring Boot Docker 镜像精简,不打包一个大的完整jar文件
A Better DockerfileA Spring Boot fat jar naturally has "layers" because of the way that the jar itself is packaged. If we unpack it first it will already be divided into external and internal dependencies. To do this in one step in the docker build, we n转载 2020-07-31 16:47:43 · 1599 阅读 · 0 评论 -
解决springboot 新版本 2.1.6 spring-boot-starter-actuator 访问报404
pom.xml<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://...原创 2019-08-20 17:22:20 · 8030 阅读 · 0 评论