Java框架之SpringBoot
Java框架之SpringBoot
搬砖的孟达
我魔鬼筋肉人并非浪得虚名...
展开
-
SpringCloud - EurekaServer端搭建
EurekaServer端搭建单节点步骤一 引入依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId> </dependency>二 启动类添加注解@Enabl原创 2021-08-26 11:47:48 · 123 阅读 · 0 评论 -
Failed to check the status of the service com.sharearn.dubbo.romote.TestService.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateExceptio...原创 2018-06-04 11:28:36 · 680 阅读 · 1 评论 -
Forbid consumer 192.168.85.1 access service com.sharearn.dubbo.romote.TestService from registry
com.alibaba.dubbo.rpc.RpcException:Forbid consumer192.168.85.1 access service com.sharearn.dubbo.romote.TestService from registry 127.0.0.1:2181 use dubbo version 2.5.3, Please check registry acces...原创 2018-06-04 11:34:25 · 5903 阅读 · 0 评论 -
springboot中dubbo配置文件:element 'beans' cannot have charcter [children], because the types content type
出现原因: 配置文件出现特殊符号,配置文件的内容是从网上贴过来的.我将所有的空行,空格进行删除.就好了.参看博文:https://blog.csdn.net/mafan121/article/details/43266733...原创 2018-05-30 17:13:17 · 426 阅读 · 0 评论 -
springboot中出现 could not autowire, No beans of TestService 'type' found
@Autowiredprivate TestService testService;使用@Autowired注解的时候,出现这个问题,但是项目依然可以启动,没有报相关的问题...修改方法:在settings中修改: 原先是error改为warning...原创 2018-05-30 17:23:34 · 4641 阅读 · 2 评论