logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

log4j2采用AsyncLogger的错误解决方案

依赖:List logger = ['org.apache.logging.log4j:log4j-api:2.17.1','org.apache.logging.log4j:log4j-core:2.17.1','org.apache.logging.log4j:log4j-slf4j-impl:2.17.1']因为log4j2.xml中使用了<AsyncLogger></As

#java
linux环境下,java应用启停脚本参考(start.sh/stop.sh)

linux环境下,java应用启停脚本参考(start.sh/stop.sh)stop.sh

#linux
idea 不自动下载maven依赖

在maven面板中点击下面 "Execute Maven Goal" 图标输入命令: -U idea:idea

#intellij idea
常用微服务框架

Spring Cloudhttps://mp.csdn.net/editor/html/112043069Spring Cloud Alibaba(含dubbo)https://blog.csdn.net/qq_17303159/article/details/111865901Tars(腾讯开源)代码:https://github.com/TarsCloud/Tars文档:https://doc

#微服务
mybatis upsert操作[插入/更新]

@Insert({"<script>"+ " INSERT INTO "+ " DemoTable ("+ "unique_key1,"+ "unique_key2,"+ "stu_name,"+ "stu_age,"+ "<if...

#mysql#mybatis
spring boot 项目启动很慢

最近在项目启动的时候总是很慢,总是卡在类似下面的Initializing ExecutorService处,经网上搜索,是因为debug启动时开启了断点,把断点置于关闭状态即可快速启动2021-04-08 17:00:09,042 INFOthreads.xxxThreadPoolTaskExecutor(ExecutorConfigurationSupport.java:181) - Initi

traefik使用 -- consul kv动态配置

consul下载地址:https://www.consul.io/downloadstraefik下载地址:https://github.com/traefik/traefik/releases启动traefik的命令traefik.exe --api.insecure=true--configFile=traefik-sample.yml配置文件 traefik-sample.yml######

#consul
traefik -- 流量复制

配置文件################################################################## Configuration sample for Traefik v2.## For Traefik v1: https://github.com/traefik/traefik/blob/v1.7/traefik.sample.toml##########

Gateway 通过nacos接入SpringBootAdmin

Gateway-Demopom.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://mave

    共 13 条
  • 1
  • 2
  • 请选择