GitHub Source: Https://github.com/alibaba/dubbo.git
After downloading to eclipse, re-load the MAVEN project.
To modify a Pom file:
1, the dependence of WEBX changed to 3.1.6 version;
<dependency> <groupId>com.alibaba.citrus</groupId> <artifactid>citrus-webx-all</a Rtifactid> <version>3.1.6</version> </dependency>
2, add the velocity of dependence, I used 1.7;
<dependency> <groupId>org.apache.velocity</groupId> <ARTIFACTID>VELOCITY</ARTIFAC Tid> <version>1.7</version> </dependency>
3, add exclusion to dependency Dubbo, avoid introducing old spring
<dependency> <groupId> com.alibaba</groupid> <artifactid>dubbo</ artifactid> <version>${project.parent.version}</ version> <exclusions> <exclusion> <groupId>org.springframework</groupId> <artifactid>spring </artifactId> </exclusion> </exclusions> </dependency>
4, WEBX has more than 3 of spring dependency, so comment out the spring dubbo-admin inside
<!--<dependency>--> <!--<groupId>org.springframework</groupId>--> <!--<a Rtifactid>spring</artifactid>--> <!--</dependency>-->
OK The Lib directory is not dependent on the Spring 3 after the war package decompression.
-
download zookeeper:http://apache.fayea.com/zookeeper/stable/zookeeper-3.4.6.tar.gz
Modify the Conf under Zoo_sample.cfg to ZOON.CFG and modify the data storage location inside.
Publish Dubbo-admin with Tomcat and modify the dubbo.properties under Web-inf
dubbo.registry.address=zookeeper://127.0.0.1:2181 address and port modified to the corresponding zookeeper
Visit Dubbo-admin:
Dubbo-admin Environment Construction Attention Point