问题一:Consider defining a bean of type 'org.springframework.http.codec.ServerCodecConfigurer' in your configuration. 原因: gatweway使用的是webflux,webflux属于响应 ...
分类:
其他好文 时间:
2021-04-19 15:26:06
阅读次数:
0
该系列文章是本人在学习 Spring 的过程中总结下来的,里面涉及到相关源码,可能对读者不太友好,请结合我的源码注释 Spring 源码分析 GitHub 地址 进行阅读。 Spring 版本:5.1.14.RELEASE 在开始阅读 Spring AOP 源码之前,需要对 Spring IoC 有 ...
分类:
编程语言 时间:
2021-04-19 14:35:06
阅读次数:
0
https://www.git-scm.com/docs/git-pull https://www.runoob.com/git/git-pull.html https://www.yiibai.com/git/git_pull.html https://www.runoob.com/git/git ...
分类:
其他好文 时间:
2021-04-19 14:14:27
阅读次数:
0
使用环境 项目环境:Idea 2020.2.3、 Maven 3.6.3 、springboot 2.1.4 本人在创建springboot项目时spring-boot-maven-plugin 及Idea右侧Plugins划红,导致项目启动打包有问题。虽然项目能跑,但是后续开发中可能会出现不可预知 ...
分类:
编程语言 时间:
2021-04-19 14:12:25
阅读次数:
0
spring中使用声明事务配置如下: <!-- 事务相关控制 --> <bean name="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> <property ...
分类:
编程语言 时间:
2021-04-16 12:23:05
阅读次数:
0
有时,在一个项目中会用到多数据源,此时可以使用苞米豆的dynamic-datasource-spring-boot-starter:首先,引入jar包: <dependency> <groupId>com.baomidou</groupId> <artifactId>dynamic-datasour ...
分类:
其他好文 时间:
2021-04-16 12:22:51
阅读次数:
0
通过Webapp骨架创建Maven的项目,所以不用全部复制,若是使用AspectJ的话,就直接复制我标记的依赖就可以了。 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" ...
分类:
编程语言 时间:
2021-04-16 12:21:49
阅读次数:
0
前言 关于spring boot同时支持http和https访问,在spring boot官网73.9已经有说明文档了,同样在github上也有官网的例子。 在这里,我向大家讲述一下,我是怎么实现的。 方式一 一、相关配置 server: port: 4000 https: port: 8443 s ...
分类:
编程语言 时间:
2021-04-16 12:21:07
阅读次数:
0
1、看了https://www.cnblogs.com/hizhaolei/p/10001459.html 必须是专业版的pycharm, 学生使用edu.cn邮箱可以免费申请(nice) Interpreter解释器:用来跑代码 那就应该用服务器的解释器 所以第一件事是 配置pycharm的解释器 ...
分类:
其他好文 时间:
2021-04-16 12:07:10
阅读次数:
0
本文主要讲解两方面内容:1.redis如何存储树结构数据。2.java操作redis时选取哪种序列化器。 1. redis如何存储树结构数据 先抛出结论,树结构数据在redis中的存储形式如下: 1.1 前置条件 spring-boot-starter-data-redis(2.1.8) fastj ...
分类:
其他好文 时间:
2021-04-16 11:54:02
阅读次数:
0