springboot
yook方
这个作者很懒,什么都没留下…
展开
-
mybatis
mybatis 知识原创 2023-02-27 16:29:00 · 69 阅读 · 0 评论 -
UnsatisfiedDependencyException: Error creating bean with name ‘
解决接口没有注入原创 2022-10-03 15:16:37 · 1784 阅读 · 0 评论 -
org.springframework.beans.factory.UnsatisfiedDependencyException
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'orderApiController': Unsatisfied dependency expressed through field 'orderService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependency原创 2022-04-10 17:39:43 · 3348 阅读 · 0 评论 -
java.lang.IllegalStateException: Service id not legal hostname (PatientFeignClient )
就是springboot在启动的时候发现了非法的主机名,这个是springcloud的中不允许命名带有下划线的命名_ ,和其他非法命名,我们要检查我们是否有非法命名或者命名不一样的情况,我全局搜索shift+shift 来查找发现我有PatientFeignClient但是我自己没有设置这个名字,所以我要改成自己写的,我的是user-service...原创 2022-04-10 17:20:26 · 1425 阅读 · 0 评论 -
Spring Boot Configuration Annotation Processor not configured 已解决
在pom.xml中配置<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional></dependency>然后在要绑定的类里加上@Configurati原创 2022-03-02 09:41:37 · 177 阅读 · 0 评论 -
包无法引用过来
解决如果实在不行,就试一下把组件放到spring里去,就是添加注解原创 2021-12-11 10:44:25 · 292 阅读 · 0 评论