You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "by.lv (JIRA)" <ji...@apache.org> on 2018/07/27 10:31:00 UTC

[jira] [Created] (SCB-781) 关于apollo配置中心不支持@ConfigurationProperties

by.lv created SCB-781:
-------------------------

             Summary: 关于apollo配置中心不支持@ConfigurationProperties
                 Key: SCB-781
                 URL: https://issues.apache.org/jira/browse/SCB-781
             Project: Apache ServiceComb
          Issue Type: Bug
          Components: Java-Chassis
    Affects Versions: java-chassis-1.0.0-m2
         Environment: windows7
            Reporter: by.lv
             Fix For: java-chassis-1.0.0


集成了apollo配置中心后,启动发现无法识别sb 的@ConfigurationProperties 导致一些插件初始化报错.

我把mybatis的配置放到apollo里面了.但是启动的时候,sb加载mybatis的配置读取到为空.但是我直接放到项目的配置文件里面就可以.

!https://user-images.githubusercontent.com/6836934/43314696-47fc8904-91c6-11e8-83aa-37747df75ea5.png!

!https://user-images.githubusercontent.com/6836934/43314708-50581f64-91c6-11e8-8e1d-f504aec344eb.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)