随笔分类 -  spring boot

摘要:springboot启动时多次监听到ApplicationReadyEvent事件 https://blog.csdn.net/weixin_43378325/article/details/118277450 阅读全文
posted @ 2024-08-27 14:29 tonggc1668 阅读(35) 评论(0) 推荐(0)
摘要:springboot如何去自定义端口 https://blog.csdn.net/m0_63102097/article/details/138584857 1.在application.properties文件中设置端口号:server.port=80802.在application.yml文件中 阅读全文
posted @ 2024-06-05 10:11 tonggc1668 阅读(349) 评论(0) 推荐(0)
摘要:<build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plug 阅读全文
posted @ 2024-02-05 15:23 tonggc1668 阅读(44) 评论(0) 推荐(0)
摘要:springboot自定义支持多种传参方式的参数解码器 https://blog.csdn.net/li_c_yang/article/details/111247437 阅读全文
posted @ 2023-10-10 23:52 tonggc1668 阅读(31) 评论(0) 推荐(0)
摘要:Spring Boot 参考指南(通过HTTP监控和管理)https://segmentfault.com/a/1190000015356985 最佳实践|Spring Boot 应用如何快速接入 Prometheus 监控 https://zhuanlan.zhihu.com/p/48889895 阅读全文
posted @ 2023-02-22 10:25 tonggc1668 阅读(73) 评论(0) 推荐(0)
摘要:SpringBoot项目使用aop https://blog.csdn.net/qq_39176307/article/details/124714191 Spring-AOP SpringBoot自动配置和启动Spring AOP https://www.bbsmax.com/A/QV5ZX3a6 阅读全文
posted @ 2023-01-29 17:04 tonggc1668 阅读(182) 评论(0) 推荐(0)
摘要:spring.config.import=classpath:application-default.properties SpringBoot2.4 文件加载机制 浅谈SpringBoot2.4 配置文件加载机制大变化 https://www.qb5200.com/article/233799.h 阅读全文
posted @ 2023-01-29 13:58 tonggc1668 阅读(1363) 评论(0) 推荐(1)
摘要:https://www.cnblogs.com/lyluoye/p/16602668.html https://www.freesion.com/article/76161512981/ <dependency> <groupId>org.springframework.boot</groupId> 阅读全文
posted @ 2023-01-29 09:48 tonggc1668 阅读(27) 评论(0) 推荐(0)
摘要:【3】@ConfigurationProperties注入属性 https://blog.csdn.net/qq_25614773/article/details/124788923 https://docs.spring.io/spring-boot/docs/2.4.7/reference/ht 阅读全文
posted @ 2022-12-04 16:54 tonggc1668 阅读(144) 评论(0) 推荐(0)
摘要:@ConditionalOnProperty(prefix = "scheduler", name = "enabled", havingValue = "true") scheduler.enabled=true 阅读全文
posted @ 2022-10-20 17:41 tonggc1668 阅读(36) 评论(0) 推荐(0)
摘要:若依(springboot2.x)集成 liquibase https://www.wyl.im/archives/77 liquibase集成springboot使用步骤(全网最详细) https://wukainian.blog.csdn.net/article/details/10635556 阅读全文
posted @ 2022-03-03 09:58 tonggc1668 阅读(174) 评论(0) 推荐(0)
摘要:package com.joysuccess; //import com.bstek.ureport.console.UReportServlet; import com.bstek.ureport.console.UReportServlet; import org.springframework 阅读全文
posted @ 2022-02-15 18:40 tonggc1668 阅读(79) 评论(0) 推荐(0)
摘要:@EnableTransactionManagement https://www.cnblogs.com/joelYe/p/13784774.html Spring Boot的事务管理注解@EnableTransactionManagement的使用 https://blog.csdn.net/u0 阅读全文
posted @ 2022-02-15 14:58 tonggc1668 阅读(24) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_35973521/article/details/114864260 BeanDefinitionRegistryPostProcessor实现动态添加到spring容器 https://www.cnblogs.com/songfahzun/ 阅读全文
posted @ 2021-12-20 17:19 tonggc1668 阅读(389) 评论(0) 推荐(0)
摘要:springboot之IOC容器ServletWebServerApplicationContext分析 https://blog.csdn.net/wang0907/article/details/117420601 createApplicationContext()实例AnnotationCo 阅读全文
posted @ 2021-09-23 17:38 tonggc1668 阅读(558) 评论(0) 推荐(0)
摘要:application.propertieslogging.config=classpath:log4j2.xml logging.file.max-size=50MB logging.level.com.exampl.springkafkademp=debug logging.file.max-h 阅读全文
posted @ 2021-09-06 10:56 tonggc1668 阅读(1833) 评论(0) 推荐(0)
摘要:src/main/resources/application.properties ### web server.port=8080 server.servlet.context-path=/xxl-job-admin ### actuator management.server.servlet.c 阅读全文
posted @ 2021-09-06 09:54 tonggc1668 阅读(137) 评论(0) 推荐(0)
摘要:import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boo 阅读全文
posted @ 2021-09-05 23:48 tonggc1668 阅读(342) 评论(0) 推荐(0)
摘要:spring: application: name: 'xxx' jackson: timeZone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss:SSS default-property-inclusion: non_null parser: allow-sing 阅读全文
posted @ 2021-09-04 18:45 tonggc1668 阅读(40) 评论(0) 推荐(0)
摘要:https://github.com/codecentric/spring-boot-admin https://codecentric.github.io/spring-boot-admin/2.3.1/#register-clients-via-spring-boot-admin <?xml v 阅读全文
posted @ 2021-09-04 18:40 tonggc1668 阅读(452) 评论(0) 推荐(0)