spring-boot-starter-dubbo-sample's Introduction
spring-boot-starter-dubbo-sample's People
Forkers
hsxiaoma chenbiao1992 gspandy rucky2013 fluagen mickylee chrismayday niubangcha mysticalmountain kingflying huangwuwei jeffli1993 davidmr001 devenfan xunux zhouxuecheng2016 ymxk lonelystone545 wsj0413 vigorous2008 motorfu xingganfengxing wufly01 yjmyzz jackxueman zscgrhg xiaolongge904913 alexfly666 derenwang hushusheng doraemon00744 xibolun hfq-shimanqiang haimingwey bapleliu kaysonyang fantasy930 planchen wdwyjw ruixj lkun callmeqingzhi cc-chen frankroad youngerk jinshulin hezudaopp ynp yangls kioospring-boot-starter-dubbo-sample's Issues
server端启动报了错误
Server端启动报了以下错误:
Caused by: java.lang.IllegalStateException: ModuleConfig.module == null
at com.alibaba.dubbo.config.AbstractConfig.appendParameters(AbstractConfig.java:282) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]
at com.alibaba.dubbo.config.AbstractConfig.appendParameters(AbstractConfig.java:217) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]
at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:360) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]
at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:284) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]
at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:245) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]
at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:144) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]
at com.alibaba.dubbo.config.spring.AnnotationBean.postProcessAfterInitialization(AnnotationBean.java:195) ~[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:422) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
... 14 common frames omitted
不能使用AOP
总 pom.xml 依赖问题
<dependency> <groupId>io.dubbo.springboot</groupId> <artifactId>spring-boot-starter-dubbo</artifactId> <version>1.0.0</version> </dependency>
版本不应该是 snapshot 版
为什么提供者服务注册不上
填了一些坑
zk集群java.lang.NumberFormatException
spring.dubbo.registry.address=zookeeper://172.16.5.179:2181,172.16.5.180:2181,172.16.5.181:2181
java.lang.NumberFormatException: For input string: "2181,172.16.5.180:2181,172.16.5.181:2181"
不能使用AOP
spring.dubbo.scan同时使用AOP时,Dubbo将无效
java.lang.NullPointerException
Caused by: java.lang.NullPointerException: null
at com.alibaba.dubbo.config.spring.ServiceBean.afterPropertiesSet(ServiceBean.java:215) ~[dubbo-2.5.3.jar:2.5.3]
at com.alibaba.dubbo.config.spring.AnnotationBean.postProcessAfterInitialization(AnnotationBean.java:186) ~[dubbo-2.5.3.jar:2.5.3]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:422) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.2.7.RELEASE.jar:4.2.7.RELEASE]
... 14 common frames omitted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.