码迷,mamicode.com
首页 >  
搜索关键字:springframework    ( 4755个结果
Spring Boot的自动配置
Spring Boot的特点 1.依赖管理 父项目做依赖管理 <!-- HelloWorld项目的父项目 --> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</ ...
分类:编程语言   时间:2021-06-02 17:50:55    阅读次数:0
SpringBoot整合kafka的简单应用
引入依赖 <!-- https://mvnrepository.com/artifact/org.springframework.kafka/spring-kafka --> <dependency> <groupId>org.springframework.kafka</groupId> <art ...
分类:编程语言   时间:2021-06-02 14:22:43    阅读次数:0
SpringBoot2.x集成springSecurity和OAuth2.0启动错误处理
当启用@EnableAuthorizationServer注解时,启动项目报错 报错信息 Description: Field configurers in org.springframework.security.oauth2.config.annotation.web.configuration ...
分类:编程语言   时间:2021-06-02 14:05:33    阅读次数:0
feign整合nacos
创建两个项目,服务提供者service-offer和服务消费者service-consumer 一、service-offer的pom文件 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot ...
分类:其他好文   时间:2021-06-02 11:44:54    阅读次数:0
Spring的AntPathMatcher(路径匹配)
import org.springframework.util.AntPathMatcher; import org.springframework.util.PathMatcher; import junit.framework.TestCase; public class AntPathMatc ...
分类:编程语言   时间:2021-06-02 10:29:46    阅读次数:0
Spring boot 打jar包启动后无法正常扫描class的问题(Idea直接运行正常)
import com.google.common.collect.Lists; import lombok.extern.slf4j.Slf4j; import org.springframework.core.io.Resource; import org.springframework.core ...
分类:编程语言   时间:2021-05-24 17:06:24    阅读次数:0
spring boot配置多数据源
1、pom.xml文件 <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> </dependency> <dependency> <groupId>org.springframework. ...
分类:编程语言   时间:2021-05-24 15:52:36    阅读次数:0
JDK8线程安全的日期工具类
package org.jeecg.modules.system.util; import org.springframework.util.Assert; import java.time.Instant; import java.time.LocalDate; import java.time. ...
分类:编程语言   时间:2021-05-24 15:05:33    阅读次数: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
spring循环依赖
@Component classA{ @Autowire private ClassB classB; } @Component classB{ @Autowire private ClassA classA; } 代码执行流程 首先进入org.springframework.beans.facto ...
分类:编程语言   时间:2021-05-24 08:23:12    阅读次数:0
4755条   上一页 1 2 3 4 5 6 ... 476 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!