hey702
hey702
关注数: 18
粉丝数: 20
发帖数: 813
关注贴吧数: 31
2.5万公里的节气门 2.5万公里去保养时,给我查看的节气门。 20年1月的车
搞了个矿池,有没有想加入的,爆块实时分收益 搞了个矿池,有没有加入的,爆块实时分收益,新协议 加群 198579
找一首好久之前的歌,只记得贴中的节奏,一个女的唱的。 开头是 霍~~~~哦霍哦~~~~~~~~~~~~~ 然后中间唱的不记得是 he eye he eye 还是 he hair he hair 去了。类似于这个 万能的吧友听过嘛
新人求助,学习swfit ui,有木有一起学习的交流一下 新人求助,学习swfit ui,有木有一起学习的交流一下
这是什么界面,输入密码也没有确认按钮
黑苹果 i7+ 960M ,但是独立显卡为0M,求大神支招
FeignClien t注册 bean 为空问题,跪求大神帮帮忙看看 Api工程: import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.RequestMapping; @FeignClient(value =“NUMCLOUD-PROVIDER”) public interface TestNumberProvider { @RequestMapping(“/ hi”) public String getCount(); } 客户端的启动类: import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.cloud.openfeign.EnableFeignClients; @EnableEurekaClient @SpringBootApplication(scanBasePackages = {com.number.controller“}) @EnableFeignClients(”com.numGroup.number.api“ public class NumCloudConsumerApplication { public static void main(String [] args){ SpringApplication.run(NumCloudConsumerApplication.class,args); } } 报错信息: 描述: 字段testNumberProvider在com.numGroup.number.controller.TestClientController所需类型的豆“cn.js189.numGroup.number.api.TestNumberProvider”不能被发现。 注入点具有以下注释: - @ org.springframework.beans.factory.annotation.Autowired(required = true) 操作: 考虑在配置中定义类型为“com.numGroup.number.api.TestNumberProvider”的bean。 spring版本: <parent> <groupId> org.springframework.boot </ groupId> <artifactId> spring-boot-starter-parent </ artifactId> <version> 2.1.0.RELEASE </ version> <relativePath /> <! - 从存储库查找父级 - > </ parent> <dependencyManagement> <dependencies > <dependency> <groupId> org.springframework.cloud </ groupId> <artifactId> spring-cloud-dependencies </ artifactId> <version> Greenwich.M1 </ version> <type> pom </ type> <scope> import </ scope> </ dependency> </ dependencies> </ dependencyManagement>
FeignClient 注入为空问题,跪求大神帮帮忙看看 Api工程: import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.RequestMapping; @FeignClient(value = "NUMCLOUD-PROVIDER") public interface TestNumberProvider { @RequestMapping("/hi") public String getCount(); } 客户端的启动类: import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.cloud.openfeign.EnableFeignClients; @EnableEurekaClient @SpringBootApplication(scanBasePackages = {com.number.controller"}) @EnableFeignClients("com.numGroup.number.api") public class NumCloudConsumerApplication { public static void main(String[] args) { SpringApplication.run(NumCloudConsumerApplication.class, args); } } 报错信息: Description: Field testNumberProvider in com.numGroup.number.controller.TestClientController required a bean of type 'cn.js189.numGroup.number.api.TestNumberProvider' that could not be found. The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Autowired(required=true) Action: Consider defining a bean of type 'com.numGroup.number.api.TestNumberProvider' in your configuration. spring 版本: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.0.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>Greenwich.M1</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement>
1
下一页