dianping / camel

camel: soft load balance(slb) middle ware - control nginx servers by portal and api.
GNU General Public License v3.0
454 stars 174 forks source link

打包报mongodb address wrong #29

Open yuge994 opened 4 years ago

yuge994 commented 4 years ago

最后一步mvn clean install 的时候过test过不去。。。报如图错误
image
mongo.properties 配置如下 手动进mongodb没有问题 image

binarywang commented 2 years ago

我这里测试,需要更改mongodb对应的applicationContext-mongo.xml文件: host="${mongodb.host}" port="${mongodb.port}"

然后在对应的properties里加上对应正确的参数值才可以。