posts - 609,  comments - 13,  views - 64万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  SpringBoot/SpringCloud

sentinel下载、安装、使用、循环引用异常
摘要:旧了,最新版本的看这个文章吧:https://www.cnblogs.com/xsj1989/p/18338930官网:https://sentinelguard.io/zh-cn/index.html注解支持:https://github.com/alibaba/Sentinel/wiki/%E6 阅读全文
posted @ 2022-03-29 16:42 邢帅杰 阅读(1830) 评论(0) 推荐(0) 编辑
SpringBoot实现AOP切面,aspect中获取注解
摘要:引入pom <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>or 阅读全文
posted @ 2021-12-20 16:10 邢帅杰 阅读(172) 评论(0) 推荐(0) 编辑
java之SpringBoot配置多数据源,使用dynamic-datasource-spring-boot-starter和mybatis-plus-boot-starter,查了很多都不行,就这个可用。
摘要:这个已经很陈旧了,废弃,新办法:https://www.cnblogs.com/xsj1989/p/18295485来源:http://www.demodashi.com/demo/14622.html1、引入dynamic-datasource-spring-boot-starter和mybati 阅读全文
posted @ 2021-11-30 11:46 邢帅杰 阅读(839) 评论(0) 推荐(0) 编辑
SpringBoot注解@ConfigurationProperties绑定配置文件application.yml,自动为类属性绑定配置值
摘要:实体:标注@Component和@ConfigurationProperties,prefix:前缀是site的配置自动绑定到类中的属性,如果不写@Component,则需要在主启动程序上面加@EnableConfigurationProperties(SiteInfo.class) package 阅读全文
posted @ 2021-08-20 13:04 邢帅杰 阅读(207) 评论(0) 推荐(0) 编辑
SpringBoot使用Redis,enableDefaultTyping方法过期,RedisUtil公共类
摘要:https://blog.csdn.net/qq_36308742/article/details/95178698https://blog.csdn.net/zzhongcy/article/details/102584028/https://blog.csdn.net/weixin_406237 阅读全文
posted @ 2021-08-17 10:56 邢帅杰 阅读(1132) 评论(0) 推荐(0) 编辑
SpringBoot使用SpringSecurity和Shiro和swagger
摘要:SpringBoot整合SpringSecurity:https://www.bilibili.com/video/BV1KE411i7bC?p=1SpringBoot整合Shiro框架:https://www.bilibili.com/video/BV1NE411i7S8?p=1SpringBoo 阅读全文
posted @ 2021-08-12 14:38 邢帅杰 阅读(193) 评论(0) 推荐(0) 编辑
SpringBoot记录
摘要:1、SpringBoot网址:https://spring.io/projects/spring-bootSpring Initializr. 在线生成初始化SpringBoot项目:https://start.spring.io/2、Thymeleaf依赖:<dependency><groupId 阅读全文
posted @ 2021-08-11 10:41 邢帅杰 阅读(41) 评论(0) 推荐(0) 编辑
SpringBoot国际化和国际化失败的原因
摘要:1、src\main\resources\i18n创建:lan.properties、lan_zh_CN.properties、lan_en_US.properties,默认、中文、英文。password=密码 和 password=password核心配置文件application.yml ser 阅读全文
posted @ 2021-08-10 16:41 邢帅杰 阅读(459) 评论(0) 推荐(0) 编辑
java之Maven安装和配置环境变量,创建Maven项目
摘要:视频:https://www.bilibili.com/video/BV12a411w7Ah?p=7下载: https://maven.apache.org/download.cgi1.下载Binary Zip Archive文件解压zip,放到没有中文和空格的目录中。E:\develop\apac 阅读全文
posted @ 2021-07-20 10:10 邢帅杰 阅读(300) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示