引入jar包
<dependency>
<groupId>com.ehaier.shoppingmall</groupId>
<artifactId>shoppingmall-core</artifactId>
<version>3.0.10</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-mongodb</artifactId>
<version>2.1.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.apache.xmlrpc</groupId>
<artifactId>xmlrpc-client</artifactId>
<version>3.1.3</version>
</dependency>
配置yml
mongo:
replica-set: 10.1.132.28:27017
prop:
python:
addr: http://10.1.132.22:30001/RPC2
image:
source:
domain: img.rrscdn.dev/
service.xml引入
<import resource="classpath:mongo-config.xml"></import>