Git Product home page Git Product logo

dubbox-sample's Introduction

##dubbox示例

演示dubbo/thrift/avro/rest协议各种服务provider/consumer的基本示例

  1. 运行前,先在本机安装zookeeper,并修改项目中的相关配置文件
  2. 基于dubbox 2.8.4a版本,请先git clone https://github.com/yjmyzz/dubbox.git , 然后本机mvn install -Dmaven.test.skip=true
  3. 编译:demo-service-provider下执行gradle pack即可,会在build/install生成打包好的文件及启动脚本;demo-service-consumer类似处理

by 菩提树下的杨过

dubbox-sample's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dubbox-sample's Issues

测试

怎么在本机windows进行测试啊? 怎么配置生成bat的启动脚本啊

build error

Build file 'E:\dubbo\dubbox-sample\demo-service-consumer\build.gradle' line: 56

  • What went wrong:
    A problem occurred evaluating project ':demo-service-consumer'.

    Could not find property 'installDist' on project ':demo-service-consumer'.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug
    option to get more log output.

错误

[DUBBO] Start NettyServer bind /0.0.0.0:20880, export /169.254.114.226:20880,
bbo version: 2.8.4, current host: 127.0.0.1
ception in thread "main" java.lang.NoClassDefFoundError: org/I0Itec/zkclient/I
StateListener
at com.alibaba.dubbo.remoting.zookeeper.zkclient.ZkclientZookeeperTransp
ter.connect(ZkclientZookeeperTransporter.java:10)
at com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter$Adpative.co
ect(ZookeeperTransporter$Adpative.java)
at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.(Zookeep
Registry.java:69)
at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistryFactory.createR
istry(ZookeeperRegistryFactory.java:37)
at com.alibaba.dubbo.registry.support.AbstractRegistryFactory.getRegistr
AbstractRegistryFactory.java:94)
at com.alibaba.dubbo.registry.RegistryFactory$Adpative.getRegistry(Regis
yFactory$Adpative.java)
at com.alibaba.dubbo.registry.integration.RegistryProtocol.getRegistry(R
istryProtocol.java:190)
at com.alibaba.dubbo.registry.integration.RegistryProtocol.export(Regist
Protocol.java:109)
at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.export(Protoco
istenerWrapper.java:54)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.