Spring boot打war包
摘要:0. 添加war 1. 排除内置Tomcat <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusi
阅读全文
posted @
2022-09-16 20:48
1161588342
阅读(40)
推荐(0) 编辑
2021 IDEA 使用JREBET插件
摘要:参考地址: https://blog.csdn.net/qq_44901285/article/details/117430370
阅读全文
posted @
2021-12-20 14:16
1161588342
阅读(70)
推荐(0) 编辑
Spring Boot 在Linux环境中 使用System.loadLibrary("XXX") 加载so文件
摘要:场景, 在Spring Boot加载so文件, 在此记录配置的过程和帮助过我的链接文档 System.loadLibrary("hello"); // Load native library at runtime hello.dll (Windows) or libhello.so 注意: wind
阅读全文
posted @
2020-03-03 11:41
1161588342
阅读(7850)
推荐(0) 编辑
springboot aop配合反射统一签名验证
摘要:https://blog.csdn.net/ysk_xh_521/article/details/80354544
阅读全文
posted @
2020-01-03 15:44
1161588342
阅读(1370)
推荐(0) 编辑
Spring boot exe4j可执行exe与jre1.8捆绑
摘要:下载地址: http://www.jrsoftware.org/isdl.php#stable 打开之后新建,脚本向导 点击Next 点击Next 点击Next Next
阅读全文
posted @
2019-12-02 18:05
1161588342
阅读(400)
推荐(0) 编辑
Spring boot项目 jar转exe执行(exe4j)
摘要:参考地址: https://www.52pojie.cn/forum.php?mod=viewthread&tid=846146 exe4j 下载地址: https://exe4j.apponic.com/ 1: maven配置 <build> <finalName>test</finalName>
阅读全文
posted @
2019-12-02 17:03
1161588342
阅读(1027)
推荐(0) 编辑
Canal 单机测试
摘要:安装 2 run.sh 修改 #!/bin/bash function usage() { echo "Usage:" echo " run.sh [CONFIG]" echo "example 1 :" echo " run.sh -e canal.instance.master.address=
阅读全文
posted @
2019-11-12 17:31
1161588342
阅读(401)
推荐(0) 编辑
Spring boot 日期格式化
摘要:返回日期格式化 1,每个实体属性添加 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") 注解 2,可以在配置文件中全局指定 1, 每个实体属性添加 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss"
阅读全文
posted @
2019-11-12 10:45
1161588342
阅读(917)
推荐(0) 编辑
Spring Boot 单库事务
摘要:1:启动类配置 @EnableAspectJAutoProxy(exposeProxy = true)@EnableTransactionManagement@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})publ
阅读全文
posted @
2019-11-11 14:49
1161588342
阅读(190)
推荐(0) 编辑
使用spring-boot-admin对spring-boot服务进行监控
摘要:https://www.cnblogs.com/shihaiming/p/8488939.html
阅读全文
posted @
2019-06-13 10:38
1161588342
阅读(123)
推荐(0) 编辑
Docker Spring boot 项目使用 docker-maven-plugin 执行mvn docker:build 打成镜像
摘要:创建Dockerfile文件 此处的参数说明: FROM openjdk:8-jdk-alpine 基与jdk1.8 VOLUME /tmp 挂载容器的位置, 容易找到 ADD kitty-generator-1.0.0.jar app.jar 宿主机器的jar文件 移动到 容器的jar文件 ENT
阅读全文
posted @
2019-06-12 14:00
1161588342
阅读(10611)
推荐(0) 编辑
Spring boot http, https
摘要:1:同时支持http, https配置 参考文献: https://www.cnblogs.com/lianggp/p/8136540.html 2:http 转发到 https配置
阅读全文
posted @
2018-10-31 17:21
1161588342
阅读(127)
推荐(0) 编辑
Spring boot @Transaction,@Async在同一个类中注解失效的原因和解决办法
摘要:https://blog.csdn.net/bai_bug/article/details/77199505
阅读全文
posted @
2018-08-31 15:09
1161588342
阅读(840)
推荐(0) 编辑
Spring boot Aop使用
摘要:https://www.cnblogs.com/winner-0715/p/6803137.html
阅读全文
posted @
2018-08-22 18:48
1161588342
阅读(124)
推荐(0) 编辑
Spring boot starter地址
摘要:https://docs.spring.io/spring-boot/docs/1.5.12.RELEASE/reference/htmlsingle/#using-boot-starter
阅读全文
posted @
2018-07-20 14:46
1161588342
阅读(116)
推荐(0) 编辑
Spring boot 自定义starter
摘要:以下配置来自尚硅谷.. 常用如何配置 3、模式: 启动器只用来做依赖导入; 专门来写一个自动配置模块; 启动器依赖自动配置;别人只需要引入启动器(starter) mybatis-spring-boot-starter;自定义启动器名-spring-boot-starter 步骤: 1)、启动器模块
阅读全文
posted @
2018-07-19 23:32
1161588342
阅读(131)
推荐(0) 编辑
Spring boot 启动配置原理
摘要:配置在META-INF/spring.factories 有几个主要的类 ApplicationContextInitializer 创建SpringAplication SpringApplicationRunListener 启动的run流程 ApplicationRunner CommandL
阅读全文
posted @
2018-07-19 23:21
1161588342
阅读(272)
推荐(0) 编辑
Spring boot 注册Filter , Listener, Servlet
摘要:1: ServletRegistrationBean Servlet 或者通过@WebServlet注解也可以. 2:FilterRegistrationBean 过滤器 3:ServletListenerRegistrationBean 监听器 myListener 实现 ServletConte
阅读全文
posted @
2018-07-15 22:50
1161588342
阅读(157)
推荐(0) 编辑
Spring boot 配置嵌入式Servlet容器
摘要:SpringBoot默认使用Tomcat作为嵌入式的Servlet容器 1、修改和server有关的配置(ServerProperties【也是EmbeddedServletContainerCustomizer】 2、编写一个EmbeddedServletContainerCustomizer:嵌
阅读全文
posted @
2018-07-15 22:38
1161588342
阅读(304)
推荐(0) 编辑