From 8f0342ae133242732097fd2468a83a0a7e095f1a Mon Sep 17 00:00:00 2001
From: 吴学文 <wuxuewen@wuxuewendeMacBook-Pro.local>
Date: 星期二, 25 六月 2019 17:21:26 +0800
Subject: [PATCH] 将spring cloud 调整为Finchley.SR3 版本 spring 调整为5.0.8.RELEASE 版本 spring boot 调整为2.0.4.RELEASE 版本 目的是为了兼容为flowable 工作流框架

---
 java110-config/src/main/java/com/java110/config/properties/code/ZookeeperProperties.java |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/java110-config/src/main/java/com/java110/config/properties/code/ZookeeperProperties.java b/java110-config/src/main/java/com/java110/config/properties/code/ZookeeperProperties.java
index 1b7604c..9ceafd5 100644
--- a/java110-config/src/main/java/com/java110/config/properties/code/ZookeeperProperties.java
+++ b/java110-config/src/main/java/com/java110/config/properties/code/ZookeeperProperties.java
@@ -1,13 +1,15 @@
 package com.java110.config.properties.code;
 
 import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.context.annotation.PropertySource;
 import org.springframework.stereotype.Component;
 
 /**
  * Created by wuxw on 2018/6/6.
  */
 @Component
-@ConfigurationProperties(prefix = "java110.code.zookeeper",locations="classpath:config/code/zookeeper.properties")
+@ConfigurationProperties(prefix = "java110.code.zookeeper")
+@PropertySource("classpath:config/code/zookeeper.properties")
 public class ZookeeperProperties {
 
     private String url;

--
Gitblit v1.8.0