码迷,mamicode.com
首页 >  
搜索关键字:springboot web开发-cors支持    ( 9666个结果
springboot配置优先级
main:11, ServerApplicationrun:1230, SpringApplicationrun:1242, SpringApplicationrun:297, SpringApplicationprepareEnvironment:338, SpringApplicationenv ...
分类:编程语言   时间:2021-05-24 08:51:37    阅读次数:0
MySQL连接异常Communications link failure
最近遇到一个诡异的问题,底层原因还有待分析,现在排查过程写出来。 本人要参与一个项目二次开发中,把这个SpringBoot项目挡下来之后,启动成功,到现在都是正常的,当访问主页时报错了,错误如下: 2021-05-14 09:44:40.144 INFO 24164 [ main] com.zaxx ...
分类:数据库   时间:2021-05-24 08:50:48    阅读次数:0
SpringCloud之Eureka Server注册和发现
服务注册和发现 Eureka注册中心搭建步骤 创建SpringBoot工程,添加eureka-server的起步依赖 <--SpringBoot 版本使用的是 2.4.5 --> <dependency> <groupId>org.springframework.cloud</groupId> <a ...
分类:编程语言   时间:2021-05-24 08:48:50    阅读次数:0
【面试题-2】SpringBoot启动过程
SpringBoot 启动类中的1个核心注解 @SpringBootApplication 可以看到一个@SpringBootApplication注解里已经包含了1.@SpringBootConfiguration 该注解主要是将当前类作为一个JavaConfig本质上和普通的@Configura ...
分类:编程语言   时间:2021-05-24 08:34:19    阅读次数:0
Springboot 指定重发的次数和延迟时间,定时异步执行 重发任务
以前写过一篇基于Springboot使用retry框架进行实现重试业务场景的文章: https://blog.csdn.net/qq_35387940/article/details/99676114 前言:重试这个需求场景在我们做项目的时候非常常见,实现这个场景的方法也是非常多, 定期轮询 Sch ...
分类:编程语言   时间:2021-05-24 07:26:44    阅读次数:0
xxl-job 执行器调度
源码:https://github.com/xuxueli/xxl-job 按文档启动xxl-job-admin后,可以自己写执行器 执行器: 新建springboot服务 选中spring web、Mysql Driver、JDBC API、Mybatis Framework等依赖 pom.xml ...
分类:其他好文   时间:2021-05-24 07:07:54    阅读次数:0
springboot接入微信app支付
一:集成步骤 1.引入依赖: <dependency> <groupId>com.github.wxpay</groupId> <artifactId>wxpay-sdk</artifactId> <version>0.0.3</version> </dependency> 2.微信app支付参数配 ...
分类:微信   时间:2021-05-24 07:07:31    阅读次数:0
【java框架】SpringBoot(7) -- SpringBoot整合MyBatis
1.整合MyBatis操作 前面一篇提到了SpringBoot整合基础的数据源JDBC、Druid操作,实际项目中更常用的还是MyBatis框架,而SpringBoot整合MyBatis进行CRUD也非常方便。 下面从配置模式、注解模式、混合模式三个方面进行说明MyBatis与SpringBoot的 ...
分类:编程语言   时间:2021-05-24 06:21:53    阅读次数:0
一、SpringBoot中Josn解析方案(SpringBoot系列)
1. Springboot默认的json解析方案 Springboot中已经集成JackJson springboot在Controller层加上@RestController注解后,就可以接收、返回 json数据的原因是: HttpMessageConverter,这是一个消息转换工具,有两个功能 ...
分类:编程语言   时间:2021-05-24 05:32:30    阅读次数:0
如果你还不知道如何控制springboot中bean的加载顺序,那你一定要看此篇
如果你还不知道如何控制springboot中bean的加载顺序,那你一定要看此篇 1.为什么需要控制加载顺序 springboot遵从约定大于配置的原则,极大程度的解决了配置繁琐的问题。在此基础上,又提供了spi机制,用spring.factories可以完成一个小组件的自动装配功能。 在一般业务场 ...
分类:编程语言   时间:2021-05-24 05:27:04    阅读次数:0
9666条   上一页 1 ... 11 12 13 14 15 ... 967 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!