levin950825 opened a new issue #109:  ApplicationConfig.application == null
URL: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/109
 
 
   `Using version 2.0.0 error`  but `0.1.0 normal`
   
   ``` xml
       <dubbo:registry address="N/A" />
       <dubbo:reference interface="com.battcn.system.facade.OperateService" 
url="dubbo://localhost:20880" id="operateService" version="1.0.0" 
timeout="10000"/>
   ```
   
   ```
   F:\Java\jdk1.8.0_65\bin\java 
-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:22624,suspend=y,server=n 
-XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always 
-Dfile.encoding=UTF-8 -classpath 
"F:\Java\jdk1.8.0_65\jre\lib\charsets.jar;F:\Java\jdk1.8.0_65\jre\lib\deploy.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\access-bridge-64.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\cldrdata.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\dnsns.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\jaccess.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\jfxrt.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\localedata.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\nashorn.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\sunec.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\sunjce_provider.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\sunmscapi.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\sunpkcs11.jar;F:\Java\jdk1.8.0_65\jre\lib\ext\zipfs.jar;F:\Java\jdk1.8.0_65\jre\lib\javaws.jar;F:\Java\jdk1.8.0_65\jre\lib\jce.jar;F:\Java\jdk1.8.0_65\jre\lib\jfr.jar;F:\Java\jdk1.8.0_65\jre\lib\jfxswt.jar;F:\Java\jdk1.8.0_65\jre\lib\jsse.jar;F:\Java\jdk1.8.0_65\jre\lib\management-agent.jar;F:\Java\jdk1.8.0_65\jre\lib\plugin.jar;F:\Java\jdk1.8.0_65\jre\lib\resources.jar;F:\Java\jdk1.8.0_65\jre\lib\rt.jar;F:\battcn-workspace\battcn3.0\battcn-consumers\battcn-consumer-management\target\classes;F:\battcn-workspace\battcn3.0\battcn-framework\battcn-framework-webmagic\target\classes;F:\development\apache-maven-3.3.3\repository\com\google\guava\guava\21.0\guava-21.0.jar;F:\development\apache-maven-3.3.3\repository\us\codecraft\webmagic-core\0.7.3\webmagic-core-0.7.3.jar;F:\development\apache-maven-3.3.3\repository\org\apache\httpcomponents\httpclient\4.5.5\httpclient-4.5.5.jar;F:\development\apache-maven-3.3.3\repository\org\apache\httpcomponents\httpcore\4.4.9\httpcore-4.4.9.jar;F:\development\apache-maven-3.3.3\repository\us\codecraft\xsoup\0.3.1\xsoup-0.3.1.jar;F:\development\apache-maven-3.3.3\repository\org\assertj\assertj-core\3.9.1\assertj-core-3.9.1.jar;F:\development\apache-maven-3.3.3\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;F:\development\apache-maven-3.3.3\repository\org\jsoup\jsoup\1.10.3\jsoup-1.10.3.jar;F:\development\apache-maven-3.3.3\repository\commons-io\commons-io\1.3.2\commons-io-1.3.2.jar;F:\development\apache-maven-3.3.3\repository\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar;F:\development\apache-maven-3.3.3\repository\net\minidev\json-smart\2.3\json-smart-2.3.jar;F:\development\apache-maven-3.3.3\repository\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;F:\development\apache-maven-3.3.3\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;F:\development\apache-maven-3.3.3\repository\us\codecraft\webmagic-extension\0.7.3\webmagic-extension-0.7.3.jar;F:\development\apache-maven-3.3.3\repository\redis\clients\jedis\2.9.0\jedis-2.9.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\commons\commons-pool2\2.5.0\commons-pool2-2.5.0.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-starter-actuator\2.0.1.RELEASE\spring-boot-starter-actuator-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-starter\2.0.1.RELEASE\spring-boot-starter-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot\2.0.1.RELEASE\spring-boot-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-autoconfigure\2.0.1.RELEASE\spring-boot-autoconfigure-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-starter-logging\2.0.1.RELEASE\spring-boot-starter-logging-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;F:\development\apache-maven-3.3.3\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;F:\development\apache-maven-3.3.3\repository\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;F:\development\apache-maven-3.3.3\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;F:\development\apache-maven-3.3.3\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;F:\development\apache-maven-3.3.3\repository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-actuator-autoconfigure\2.0.1.RELEASE\spring-boot-actuator-autoconfigure-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-actuator\2.0.1.RELEASE\spring-boot-actuator-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\com\fasterxml\jackson\core\jackson-databind\2.9.5\jackson-databind-2.9.5.jar;F:\development\apache-maven-3.3.3\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;F:\development\apache-maven-3.3.3\repository\com\fasterxml\jackson\core\jackson-core\2.9.5\jackson-core-2.9.5.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\spring-context\5.0.5.RELEASE\spring-context-5.0.5.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.5\jackson-datatype-jsr310-2.9.5.jar;F:\development\apache-maven-3.3.3\repository\io\micrometer\micrometer-core\1.0.3\micrometer-core-1.0.3.jar;F:\development\apache-maven-3.3.3\repository\org\hdrhistogram\HdrHistogram\2.1.10\HdrHistogram-2.1.10.jar;F:\development\apache-maven-3.3.3\repository\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;F:\development\apache-maven-3.3.3\repository\com\alibaba\spring\boot\dubbo-spring-boot-starter\2.0.0\dubbo-spring-boot-starter-2.0.0.jar;F:\development\apache-maven-3.3.3\repository\com\alibaba\dubbo\2.6.0\dubbo-2.6.0.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\spring-beans\5.0.5.RELEASE\spring-beans-5.0.5.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\javassist\javassist\3.20.0-GA\javassist-3.20.0-GA.jar;F:\development\apache-maven-3.3.3\repository\org\jboss\netty\netty\3.2.5.Final\netty-3.2.5.Final.jar;F:\battcn-workspace\battcn3.0\battcn-framework\battcn-framework-exception\target\classes;F:\battcn-workspace\battcn3.0\battcn-facades\battcn-facade-system\target\classes;F:\battcn-workspace\battcn3.0\battcn-framework\battcn-framework-mybatis\target\classes;F:\development\apache-maven-3.3.3\repository\mysql\mysql-connector-java\5.1.46\mysql-connector-java-5.1.46.jar;F:\development\apache-maven-3.3.3\repository\com\zaxxer\HikariCP\2.7.8\HikariCP-2.7.8.jar;F:\development\apache-maven-3.3.3\repository\tk\mybatis\mapper-spring-boot-starter\2.0.0\mapper-spring-boot-starter-2.0.0.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-starter-jdbc\2.0.1.RELEASE\spring-boot-starter-jdbc-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\spring-jdbc\5.0.5.RELEASE\spring-jdbc-5.0.5.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\spring-tx\5.0.5.RELEASE\spring-tx-5.0.5.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\mybatis\mybatis\3.4.5\mybatis-3.4.5.jar;F:\development\apache-maven-3.3.3\repository\org\mybatis\mybatis-spring\1.3.1\mybatis-spring-1.3.1.jar;F:\development\apache-maven-3.3.3\repository\tk\mybatis\mapper-core\1.0.0\mapper-core-1.0.0.jar;F:\development\apache-maven-3.3.3\repository\javax\persistence\persistence-api\1.0\persistence-api-1.0.jar;F:\development\apache-maven-3.3.3\repository\tk\mybatis\mapper-base\1.0.0\mapper-base-1.0.0.jar;F:\development\apache-maven-3.3.3\repository\tk\mybatis\mapper-weekend\1.1.3\mapper-weekend-1.1.3.jar;F:\development\apache-maven-3.3.3\repository\tk\mybatis\mapper-spring\1.0.0\mapper-spring-1.0.0.jar;F:\development\apache-maven-3.3.3\repository\tk\mybatis\mapper-spring-boot-autoconfigure\2.0.0\mapper-spring-boot-autoconfigure-2.0.0.jar;F:\development\apache-maven-3.3.3\repository\com\github\pagehelper\pagehelper-spring-boot-starter\1.2.3\pagehelper-spring-boot-starter-1.2.3.jar;F:\development\apache-maven-3.3.3\repository\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.3.1\mybatis-spring-boot-starter-1.3.1.jar;F:\development\apache-maven-3.3.3\repository\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.3.1\mybatis-spring-boot-autoconfigure-1.3.1.jar;F:\development\apache-maven-3.3.3\repository\com\github\pagehelper\pagehelper-spring-boot-autoconfigure\1.2.3\pagehelper-spring-boot-autoconfigure-1.2.3.jar;F:\development\apache-maven-3.3.3\repository\com\github\pagehelper\pagehelper\5.1.2\pagehelper-5.1.2.jar;F:\development\apache-maven-3.3.3\repository\com\github\jsqlparser\jsqlparser\1.0\jsqlparser-1.0.jar;F:\battcn-workspace\battcn3.0\battcn-facades\battcn-facade-book\target\classes;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-starter-web\2.0.1.RELEASE\spring-boot-starter-web-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-starter-json\2.0.1.RELEASE\spring-boot-starter-json-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.5\jackson-datatype-jdk8-2.9.5.jar;F:\development\apache-maven-3.3.3\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.5\jackson-module-parameter-names-2.9.5.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-starter-tomcat\2.0.1.RELEASE\spring-boot-starter-tomcat-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.29\tomcat-embed-core-8.5.29.jar;F:\development\apache-maven-3.3.3\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.29\tomcat-embed-el-8.5.29.jar;F:\development\apache-maven-3.3.3\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.29\tomcat-embed-websocket-8.5.29.jar;F:\development\apache-maven-3.3.3\repository\org\hibernate\validator\hibernate-validator\6.0.9.Final\hibernate-validator-6.0.9.Final.jar;F:\development\apache-maven-3.3.3\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;F:\development\apache-maven-3.3.3\repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\spring-web\5.0.5.RELEASE\spring-web-5.0.5.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\spring-webmvc\5.0.5.RELEASE\spring-webmvc-5.0.5.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\spring-expression\5.0.5.RELEASE\spring-expression-5.0.5.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.0.1.RELEASE\spring-boot-starter-thymeleaf-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\thymeleaf\thymeleaf-spring5\3.0.9.RELEASE\thymeleaf-spring5-3.0.9.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\thymeleaf\thymeleaf\3.0.9.RELEASE\thymeleaf-3.0.9.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\attoparser\attoparser\2.0.4.RELEASE\attoparser-2.0.4.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\unbescape\unbescape\1.1.5.RELEASE\unbescape-1.1.5.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.1.RELEASE\thymeleaf-extras-java8time-3.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\boot\spring-boot-starter-aop\2.0.1.RELEASE\spring-boot-starter-aop-2.0.1.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\spring-aop\5.0.5.RELEASE\spring-aop-5.0.5.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\aspectj\aspectjweaver\1.8.13\aspectjweaver-1.8.13.jar;F:\development\apache-maven-3.3.3\repository\com\battcn\spring-boot-starter-swagger\1.4.4-RELEASE\spring-boot-starter-swagger-1.4.4-RELEASE.jar;F:\development\apache-maven-3.3.3\repository\io\springfox\springfox-swagger2\2.7.0\springfox-swagger2-2.7.0.jar;F:\development\apache-maven-3.3.3\repository\io\swagger\swagger-annotations\1.5.13\swagger-annotations-1.5.13.jar;F:\development\apache-maven-3.3.3\repository\io\swagger\swagger-models\1.5.13\swagger-models-1.5.13.jar;F:\development\apache-maven-3.3.3\repository\io\springfox\springfox-spi\2.7.0\springfox-spi-2.7.0.jar;F:\development\apache-maven-3.3.3\repository\io\springfox\springfox-core\2.7.0\springfox-core-2.7.0.jar;F:\development\apache-maven-3.3.3\repository\net\bytebuddy\byte-buddy\1.7.11\byte-buddy-1.7.11.jar;F:\development\apache-maven-3.3.3\repository\io\springfox\springfox-schema\2.7.0\springfox-schema-2.7.0.jar;F:\development\apache-maven-3.3.3\repository\io\springfox\springfox-swagger-common\2.7.0\springfox-swagger-common-2.7.0.jar;F:\development\apache-maven-3.3.3\repository\io\springfox\springfox-spring-web\2.7.0\springfox-spring-web-2.7.0.jar;F:\development\apache-maven-3.3.3\repository\org\reflections\reflections\0.9.11\reflections-0.9.11.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\mapstruct\mapstruct\1.1.0.Final\mapstruct-1.1.0.Final.jar;F:\development\apache-maven-3.3.3\repository\io\springfox\springfox-bean-validators\2.7.0\springfox-bean-validators-2.7.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\commons\commons-lang3\3.7\commons-lang3-3.7.jar;F:\development\apache-maven-3.3.3\repository\org\apache\commons\commons-collections4\4.1\commons-collections4-4.1.jar;F:\development\apache-maven-3.3.3\repository\com\alibaba\fastjson\1.2.44\fastjson-1.2.44.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-core\1.4.0\shiro-core-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-lang\1.4.0\shiro-lang-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-cache\1.4.0\shiro-cache-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-crypto-hash\1.4.0\shiro-crypto-hash-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-crypto-core\1.4.0\shiro-crypto-core-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-crypto-cipher\1.4.0\shiro-crypto-cipher-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-config-core\1.4.0\shiro-config-core-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-config-ogdl\1.4.0\shiro-config-ogdl-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-event\1.4.0\shiro-event-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-spring\1.4.0\shiro-spring-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-web\1.4.0\shiro-web-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\org\apache\shiro\shiro-ehcache\1.4.0\shiro-ehcache-1.4.0.jar;F:\development\apache-maven-3.3.3\repository\net\sf\ehcache\ehcache-core\2.6.11\ehcache-core-2.6.11.jar;F:\development\apache-maven-3.3.3\repository\cn\afterturn\easypoi-base\3.0.3\easypoi-base-3.0.3.jar;F:\development\apache-maven-3.3.3\repository\org\apache\poi\poi\3.15\poi-3.15.jar;F:\development\apache-maven-3.3.3\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;F:\development\apache-maven-3.3.3\repository\org\apache\poi\poi-ooxml\3.15\poi-ooxml-3.15.jar;F:\development\apache-maven-3.3.3\repository\com\github\virtuald\curvesapi\1.04\curvesapi-1.04.jar;F:\development\apache-maven-3.3.3\repository\org\apache\poi\poi-ooxml-schemas\3.15\poi-ooxml-schemas-3.15.jar;F:\development\apache-maven-3.3.3\repository\org\apache\xmlbeans\xmlbeans\2.6.0\xmlbeans-2.6.0.jar;F:\development\apache-maven-3.3.3\repository\stax\stax-api\1.0.1\stax-api-1.0.1.jar;F:\development\apache-maven-3.3.3\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;F:\development\apache-maven-3.3.3\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;F:\development\apache-maven-3.3.3\repository\cn\afterturn\easypoi-web\3.0.3\easypoi-web-3.0.3.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\spring-core\5.0.5.RELEASE\spring-core-5.0.5.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\org\springframework\spring-jcl\5.0.5.RELEASE\spring-jcl-5.0.5.RELEASE.jar;F:\development\apache-maven-3.3.3\repository\cn\afterturn\easypoi-annotation\3.0.3\easypoi-annotation-3.0.3.jar;F:\battcn-workspace\battcn3.0\battcn-framework\battcn-framework-commons\target\classes;E:\IDEA2017.1.2\IntelliJ
 IDEA 2017.1.2\lib\idea_rt.jar" 
com.battcn.management.consumer.ManagementApplication
   Connected to the target VM, address: '127.0.0.1:22624', transport: 'socket'
   2018-04-15 23:06:29.795  INFO 10692 --- [           main] 
c.a.dubbo.common.logger.LoggerFactory    : using logger: 
com.alibaba.dubbo.common.logger.slf4j.Slf4jLoggerAdapter
   
     ████████▄  ███    █▄  ▀█████████▄  ▀█████████▄   ▄██████▄  
     ███   ▀███ ███    ███   ███    ███   ███    ███ ███    ███ 
     ███    ███ ███    ███   ███    ███   ███    ███ ███    ███ 
     ███    ███ ███    ███  ▄███▄▄▄██▀   ▄███▄▄▄██▀  ███    ███ 
     ███    ███ ███    ███ ▀▀███▀▀▀██▄  ▀▀███▀▀▀██▄  ███    ███ 
     ███    ███ ███    ███   ███    ██▄   ███    ██▄ ███    ███ 
     ███   ▄███ ███    ███   ███    ███   ███    ███ ███    ███ 
     ████████▀  ████████▀  ▄█████████▀  ▄█████████▀   ▀██████▀  
                                                                
   
    :: Dubbo ::        (v2.6.0)
   /**
    *                             _ooOoo_
    *                            o8888888o
    *                            88" . "88
    *                            (| -_- |)
    *                            O\  =  /O
    *                         ____/`---'\____
    *                       .'  \\|     |//  `.
    *                      /  \\|||  :  |||//  \
    *                     /  _||||| -:- |||||-  \
    *                     |   | \\\  -  /// |   |
    *                     | \_|  ''\---/''  |   |
    *                     \  .-\__  `-`  ___/-. /
    *                   ___`. .'  /--.--\  `. . __
    *                ."" '<  `.___\_<|>_/___.'  >'"".
    *               | | :  `- \`.;`\ _ /`;.`/ - ` : | |
    *               \  \ `-.   \_ __\ /__ _/   .-` /  /
    *          ======`-.____`-.___\_____/___.-`____.-'======
    *                             `=---='
    *          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    *                     佛祖保佑        永无BUG
    *            佛曰:
    *                   写字楼里写字间,写字间里程序员;
    *                   程序人员写程序,又拿程序换酒钱。
    *                   酒醒只在网上坐,酒醉还来网下眠;
    *                   酒醉酒醒日复日,网上网下年复年。
    *                   但愿老死电脑间,不愿鞠躬老板前;
    *                   奔驰宝马贵者趣,公交自行程序员。
    *                   别人笑我忒疯癫,我笑自己命太贱;
    *                   不见满街漂亮妹,哪个归得程序员?
    */
   
   
                           江城子 . 程序员之歌
        
                      十年生死两茫茫,写程序,到天亮。
                           千行代码,Bug何处藏。
                      纵使上线又怎样,朝令改,夕断肠。
    
                      领导每天新想法,天天改,日日忙。
                           相顾无言,惟有泪千行。
                      每晚灯火阑珊处,夜难寐,加班狂。
   
   
        1.采用SpringBoot+Thymeleaf模板,干净,简洁,优雅的代码风格
        2.采用分页插件与通用Mapper减少SQL编写以及分页的痛苦
        3.接口管理:http://${server.ip}:8085/swagger-ui.html
        3.JSON格式化:http://plugin.battcn.com
   
   2018-04-15 23:06:29.942  INFO 10692 --- [           main] 
c.b.m.consumer.ManagementApplication     : Starting ManagementApplication on 
XB-201704242009 with PID 10692 
(F:\battcn-workspace\battcn3.0\battcn-consumers\battcn-consumer-management\target\classes
 started by Administrator in F:\battcn-workspace\battcn3.0)
   2018-04-15 23:06:29.942  INFO 10692 --- [           main] 
c.b.m.consumer.ManagementApplication     : The following profiles are active: 
dev
   2018-04-15 23:06:30.192  INFO 10692 --- [           main] 
ConfigServletWebServerApplicationContext : Refreshing 
org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@6ea2bc93:
 startup date [Sun Apr 15 23:06:30 CST 2018]; root of context hierarchy
   2018-04-15 23:06:31.377  INFO 10692 --- [           main] 
o.s.b.f.s.DefaultListableBeanFactory     : Overriding bean definition for bean 
'authRealm' with a different definition: replacing [Generic bean: class 
[com.battcn.management.consumer.config.shiro.AuthRealm]; scope=singleton; 
abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; 
autowireCandidate=true; primary=false; factoryBeanName=null; 
factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in 
file 
[F:\battcn-workspace\battcn3.0\battcn-consumers\battcn-consumer-management\target\classes\com\battcn\management\consumer\config\shiro\AuthRealm.class]]
 with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; 
autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; 
factoryBeanName=shiroConfiguration; factoryMethodName=authRealm; 
initMethodName=null; destroyMethodName=(inferred); defined in class path 
resource [com/battcn/management/consumer/config/shiro/ShiroConfiguration.class]]
   2018-04-15 23:06:31.383  INFO 10692 --- [           main] 
.a.d.c.s.c.a.DubboConfigBindingRegistrar : The dubbo config bean definition 
[name : battcn-consumer-management, class : 
com.alibaba.dubbo.config.ApplicationConfig] has been registered.
   2018-04-15 23:06:31.385  INFO 10692 --- [           main] 
.a.d.c.s.c.a.DubboConfigBindingRegistrar : The BeanPostProcessor bean 
definition 
[com.alibaba.dubbo.config.spring.beans.factory.annotation.DubboConfigBindingBeanPostProcessor]
 for dubbo config bean [name : battcn-consumer-management] has been registered.
   2018-04-15 23:06:31.422  INFO 10692 --- [           main] 
o.s.b.f.xml.XmlBeanDefinitionReader      : Loading XML bean definitions from 
class path resource [dubbo.xml]
   2018-04-15 23:06:32.527  INFO 10692 --- [           main] 
trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type 
[com.battcn.management.consumer.config.shiro.ShiroConfiguration$$EnhancerBySpringCGLIB$$d96ad9be]
 is not eligible for getting processed by all BeanPostProcessors (for example: 
not eligible for auto-proxying)
   2018-04-15 23:06:32.726  INFO 10692 --- [           main] 
trationDelegate$BeanPostProcessorChecker : Bean 'battcn-consumer-management' of 
type [com.alibaba.dubbo.config.ApplicationConfig] is not eligible for getting 
processed by all BeanPostProcessors (for example: not eligible for 
auto-proxying)
   2018-04-15 23:06:32.734  INFO 10692 --- [           main] 
trationDelegate$BeanPostProcessorChecker : Bean 
'com.alibaba.dubbo.config.RegistryConfig' of type 
[com.alibaba.dubbo.config.RegistryConfig] is not eligible for getting processed 
by all BeanPostProcessors (for example: not eligible for auto-proxying)
   2018-04-15 23:06:32.735  INFO 10692 --- [           main] 
trationDelegate$BeanPostProcessorChecker : Bean 'operateService' of type 
[com.alibaba.dubbo.config.spring.ReferenceBean] is not eligible for getting 
processed by all BeanPostProcessors (for example: not eligible for 
auto-proxying)
   2018-04-15 23:06:33.037  INFO 10692 --- [           main] 
trationDelegate$BeanPostProcessorChecker : Bean 'getEhCacheManager' of type 
[org.apache.shiro.cache.ehcache.EhCacheManager] is not eligible for getting 
processed by all BeanPostProcessors (for example: not eligible for 
auto-proxying)
   2018-04-15 23:06:33.042  INFO 10692 --- [           main] 
o.a.shiro.cache.ehcache.EhCacheManager   : Cache with name 
'com.battcn.management.consumer.config.shiro.AuthRealm.authorizationCache' does 
not yet exist.  Creating now.
   2018-04-15 23:06:33.068  INFO 10692 --- [           main] 
o.a.shiro.cache.ehcache.EhCacheManager   : Added EhCache named 
[com.battcn.management.consumer.config.shiro.AuthRealm.authorizationCache]
   2018-04-15 23:06:33.089  INFO 10692 --- [           main] 
trationDelegate$BeanPostProcessorChecker : Bean 'authRealm' of type 
[com.battcn.management.consumer.config.shiro.AuthRealm] is not eligible for 
getting processed by all BeanPostProcessors (for example: not eligible for 
auto-proxying)
   2018-04-15 23:06:33.234  INFO 10692 --- [           main] 
trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type 
[org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for 
getting processed by all BeanPostProcessors (for example: not eligible for 
auto-proxying)
   2018-04-15 23:06:33.283  WARN 10692 --- [           main] 
ConfigServletWebServerApplicationContext : Exception encountered during context 
initialization - cancelling refresh attempt: 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'methodValidationPostProcessor' defined in class path 
resource 
[org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]:
 Unsatisfied dependency expressed through method 
'methodValidationPostProcessor' parameter 0; nested exception is 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'shiroFilter' defined in class path resource 
[com/battcn/management/consumer/config/shiro/ShiroConfiguration.class]: 
Unsatisfied dependency expressed through method 'getShiroFilterFactoryBean' 
parameter 1; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'operateService': FactoryBean threw exception on object creation; 
nested exception is java.lang.IllegalStateException: 
ApplicationConfig.application == null
   2018-04-15 23:06:33.303  INFO 10692 --- [           main] 
ConditionEvaluationReportLoggingListener : 
   
   Error starting ApplicationContext. To display the conditions report re-run 
your application with 'debug' enabled.
   2018-04-15 23:06:33.318 ERROR 10692 --- [           main] 
o.s.boot.SpringApplication               : Application run failed
   
   org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'methodValidationPostProcessor' defined in class path 
resource 
[org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]:
 Unsatisfied dependency expressed through method 
'methodValidationPostProcessor' parameter 0; nested exception is 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'shiroFilter' defined in class path resource 
[com/battcn/management/consumer/config/shiro/ShiroConfiguration.class]: 
Unsatisfied dependency expressed through method 'getShiroFilterFactoryBean' 
parameter 1; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'operateService': FactoryBean threw exception on object creation; 
nested exception is java.lang.IllegalStateException: 
ApplicationConfig.application == null
        at 
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:729)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:541)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:501)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:226)
 ~[spring-context-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:710)
 ~[spring-context-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:535)
 ~[spring-context-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
 ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE]
        at 
org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) 
[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE]
        at 
org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395)
 [spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE]
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:327) 
[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE]
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1255) 
[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE]
        at 
org.springframework.boot.SpringApplication.run(SpringApplication.java:1243) 
[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE]
        at 
com.battcn.management.consumer.ManagementApplication.main(ManagementApplication.java:29)
 [classes/:na]
   Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 'shiroFilter' defined in class path resource 
[com/battcn/management/consumer/config/shiro/ShiroConfiguration.class]: 
Unsatisfied dependency expressed through method 'getShiroFilterFactoryBean' 
parameter 1; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'operateService': FactoryBean threw exception on object creation; 
nested exception is java.lang.IllegalStateException: 
ApplicationConfig.application == null
        at 
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:729)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:470)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1250)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getSingletonFactoryBeanForTypeCheck(AbstractAutowireCapableBeanFactory.java:946)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryBean(AbstractAutowireCapableBeanFactory.java:829)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:562)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:427)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:390)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:208)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1276)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1101)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        ... 19 common frames omitted
   Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'operateService': FactoryBean threw exception on object 
creation; nested exception is java.lang.IllegalStateException: 
ApplicationConfig.application == null
        at 
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:170)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:101)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1645)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getObjectForBeanInstance(AbstractAutowireCapableBeanFactory.java:1178)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:257)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.addCandidateEntry(DefaultListableBeanFactory.java:1325)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1291)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1101)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:815)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:721)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        ... 33 common frames omitted
   Caused by: java.lang.IllegalStateException: ApplicationConfig.application == 
null
        at 
com.alibaba.dubbo.config.AbstractConfig.appendParameters(AbstractConfig.java:245)
 ~[dubbo-2.6.0.jar:2.6.0]
        at 
com.alibaba.dubbo.config.AbstractConfig.appendParameters(AbstractConfig.java:180)
 ~[dubbo-2.6.0.jar:2.6.0]
        at 
com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:303) 
~[dubbo-2.6.0.jar:2.6.0]
        at 
com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:163) 
~[dubbo-2.6.0.jar:2.6.0]
        at 
com.alibaba.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:59) 
~[dubbo-2.6.0.jar:2.6.0]
        at 
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:163)
 ~[spring-beans-5.0.5.RELEASE.jar:5.0.5.RELEASE]
        ... 45 common frames omitted
   Caused by: java.lang.IllegalStateException: ApplicationConfig.application == 
null
        at 
com.alibaba.dubbo.config.AbstractConfig.appendParameters(AbstractConfig.java:230)
 ~[dubbo-2.6.0.jar:2.6.0]
        ... 50 common frames omitted
   
   2018-04-15 23:06:33.328  INFO 10692 --- [bboShutdownHook] 
com.alibaba.dubbo.config.AbstractConfig  :  [DUBBO] Run shutdown hook now., 
dubbo version: 2.6.0, current host: 127.0.0.1
   2018-04-15 23:06:33.330  INFO 10692 --- [bboShutdownHook] 
c.a.d.r.support.AbstractRegistryFactory  :  [DUBBO] Close all registries [], 
dubbo version: 2.6.0, current host: 127.0.0.1
   Disconnected from the target VM, address: '127.0.0.1:22624', transport: 
'socket'
   
   Process finished with exit code 1
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to