nutzmore jar包通过maven下载不下来,有地址可以自己下吗,jdk1.8.0_45可以使用的版本
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutzmore</artifactId>
<version>1.r.67</version>
</dependency>
按照网站上的demo写了生产者和消费者,iocby里添加上了两个xml配置文件,在setup的init方法里ioc.get(DubboManager.class),这个DubboManager.class是从哪来的
@IocBy(type = ComboIocProvider.class, args = { "*org.nutz.ioc.loader.json.JsonLoader", "webconfig/",
"*org.nutz.ioc.loader.annotation.AnnotationIocLoader", "com.juyo.visa", "*quartz", "*dubbo",
"dubbo-provider.xml", "dubbo-consumer.xml" })
consumer.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd"
<dubbo:application name="juyo-visa-consumer" />
<dubbo:registry address="zookeeper://47.104.148.171:2181" />
<dubbo:reference timeout="600000" id="demoServiceImpl" check="false" interface="com.juyo.visa.admin.dubboTest.service.DemoService" />
provider.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://code.alibabatech.com/schema/dubbo http://code.alibabatech.com/schema/dubbo/dubbo.xsd"
<dubbo:application name="juyo-visa-provider" />
<dubbo:registry address="zookeeper://47.104.148.171:2181" />
<dubbo:protocol name="dubbo" port="20880" />
<!-- <dubbo:protocol name="injvm"></dubbo:protocol> -->
<dubbo:service timeout="600000" interface="com.juyo.visa.admin.dubboTest.service.DemoService" ref="demoServiceLocal" />
```