spring boot打包后META-INF/MANIFEST.MF中的Spring-Boot-Lib属性是怎么修改
spring boot打包后的jar包中META-INF/MANIFEST.MF文件里的spring-boot-lib属性怎么修改,在application.yml里设置还是gradle打包的时候设置呢? Manife…
spring cloud feign没法注入service
spring cloud 消费端使用feign实现。定义了一个接口 package org.noak.facade.provider @FeignClient(value = Constants.SERVICE_PROVIDER) public i…
resttemplate post对象接收不到
客户端:用了两种方式都不行 第一种: this.restTemplate.postForObject("http://demo-main/register?a={a}", userInfo, String.class, "test") 第二…
springboot配置两个数据源怎么实现?
springboot如何配置两个数据源呢?我的思路是这样的:1.application.properties配置文件中先定义好两套数据源,然后定义一个DataSourceConfig类去加…
spring cloud task是干啥的
官方对Spring Cloud Task的解释如下 Spring Cloud Task allows a user to develop and run short lived microservices using Spring Cloud and run t…
sprng cloud 的依赖
官网的pom,maven仓库里都提示找不到... <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-cloud-starter-…