本项目代码地址:https://github.com/HashZhang/spring-cloud-scaffold/tree/master/spring-cloud-iiford 我们使用 Spring Cloud 官方推荐的 Spring Cloud LoadBalancer 作为我们的客户端负 ...
分类:
数据库 时间:
2021-06-02 15:36:48
阅读次数:
0
Tensorflow绪论 有句话说的好:“工欲善其事 必先利其器”。 为什么选择Tensorflow2 Tensorflow目前发布了两个版本:1.x和2.0,通过对这两个版本的使用,相较于Tensorflow1.x,有以下特点: (1)简单易用: Tensorflow2去除了冗余的接口,并将计算过 ...
分类:
其他好文 时间:
2021-06-02 15:30:53
阅读次数:
0
出现的问题: 利用ConfigurationProperties注解配置数据源发现读取的数据库配置信息全部为null。 @Bean(name = "pq") @ConfigurationProperties(prefix = "spring.datasource") public DataSourc ...
分类:
编程语言 时间:
2021-06-02 15:23:34
阅读次数:
0
DHTML 百科名片 DHTML是Dynamic HTML的简称,就是动态的html,是相对传统的静态的html而言的一种制作网页的概念。所谓动态HTML(Dynamic HTML,简称DHTML),其实并不是一门新的语言,它只是HTML、CSS和客户端脚本的一种集成,即一个页面中包括html+cs ...
分类:
Web程序 时间:
2021-06-02 15:20:12
阅读次数:
0
现在我们从源码来分析(一)中所涉及的东西 提问 问一下自己想从源码中知道什么, 带着目的去看源码才容易搞懂. 从下述的代码中发现定义了一个Function的Bean和在yaml中定义了definition, 那么这两个定义的作用是什么呢? Function是怎么样去绑定、注册的呢? 带着问题我们就可 ...
分类:
编程语言 时间:
2021-06-02 14:52:40
阅读次数:
0
引入依赖 <!-- https://mvnrepository.com/artifact/org.springframework.kafka/spring-kafka --> <dependency> <groupId>org.springframework.kafka</groupId> <art ...
分类:
编程语言 时间:
2021-06-02 14:22:43
阅读次数:
0
简述Spring Cloud Gateway 是 Spring Cloud 的一个子项目,该项目是基于 Spring 5.0,Spring Boot 2.0 和 Project Reactor 等技术开发的网关,它旨在为微服务架构提供一种简单有效的统一的 API 路由管理方式。 Spring Clo ...
分类:
其他好文 时间:
2021-06-02 14:13:45
阅读次数:
0
当启用@EnableAuthorizationServer注解时,启动项目报错 报错信息 Description: Field configurers in org.springframework.security.oauth2.config.annotation.web.configuration ...
分类:
编程语言 时间:
2021-06-02 14:05:33
阅读次数:
0
MyBatis_Plus 代码生成器 开启Mapper接口扫描 @Configuration @EnableTransactionManagement @MapperScan("com.hu.mylearn.mapper") public class MyBatisPlusConfig { // 旧 ...
分类:
其他好文 时间:
2021-06-02 13:39:52
阅读次数:
0
Halo 为了实现跳转到登录页,采用了response.sendRedirect(adminIndexRedirectUri)来进行页面重定向,其中adminIndexRedirectUri的值为“ /admin/index.html”,是管理主界面。 ...
分类:
编程语言 时间:
2021-06-02 13:13:00
阅读次数:
0