motan之多服务器分布式调用总结--空指针错误

首先环境的搭建,我是将zookeeper MongoDB redis 放在了203的服务器上,tomcat放在205的服务器上

本地测试一切正常,但是现在放在了服务器上,把api打jar包放在私服上,server端搞成war包放在205服务器上,client连上之后,访问一直拒绝访问,还有找不到资源,,空指针异常等,具体错误如下



"C:\Program Files (x86)\Java\jdk8\bin\java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:7831,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -javaagent:C:\Users\setsun\.IntelliJIdea2017.1\system\groovyHotSwap\gragent.jar -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\Java\jdk8\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\deploy.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\access-bridge-32.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\cldrdata.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\dnsns.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\jaccess.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\jfxrt.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\localedata.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\nashorn.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\sunec.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\sunjce_provider.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\sunmscapi.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\sunpkcs11.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\ext\zipfs.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\javaws.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\jfr.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\jfxswt.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\management-agent.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\plugin.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk8\jre\lib\rt.jar;E:\item\youweileifeng\lvcheng\smartb_lvcheng\lib\gson-2.4.jar;E:\item\youweileifeng\lvcheng\smartb_lvcheng\lib\netty-all-4.0.18.Final.jar;E:\item\youweileifeng\lvcheng\smartb_lvcheng\lib\sqlite-jdbc-3.15.1.jar;E:\item\youweileifeng\smarthome\setsun\uc-client\build\classes\main;E:\item\youweileifeng\smarthome\setsun\uc-client\build\resources\main;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-web\1.5.9.RELEASE\bda9733d5e6ba6d1a97deead1738713dc0631b3e\spring-boot-starter-web-1.5.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-aop\1.5.9.RELEASE\fab419df8d7a13968a51ebfcbcad7ef320d66184\spring-boot-starter-aop-1.5.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-data-redis\1.5.9.RELEASE\1b451a17f4ecdf9e9f03afca9b2e2b4c5ee5069\spring-boot-starter-data-redis-1.5.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-cache\1.5.9.RELEASE\807530d7de21f02196aca180909e3d5dfefa8809\spring-boot-starter-cache-1.5.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-data-mongodb\1.5.9.RELEASE\32db6cd936a07661461bbd8c7edc49ce64f09f95\spring-boot-starter-data-mongodb-1.5.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.mybatis.spring.boot\mybatis-spring-boot-starter\1.3.1\f67bd22f518df4b56e6647c90692529af4715a10\mybatis-spring-boot-starter-1.3.1.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\mysql\mysql-connector-java\5.1.38\dbbd7cd309ce167ec8367de4e41c63c2c8593cc5\mysql-connector-java-5.1.38.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.mongodb\mongo-java-driver\3.3.0\7d6c104620558aa9c1d5c9f06fccfefe34de5604\mongo-java-driver-3.3.0.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.alibaba\fastjson\1.2.31\1ca964122c53f03f6fc3938b58c16d63b40490ab\fastjson-1.2.31.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.apache.commons\commons-lang3\3.4\5fe28b9518e58819180a43a850fbc0dd24b7c050\commons-lang3-3.4.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.fasterxml.uuid\java-uuid-generator\3.1.4\ae83b2b74ee694812130dc1b3eec17df04498f3a\java-uuid-generator-3.1.4.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.weibo\motan-core\1.1.0\7abc1ea5806a3e24af9dafa786c072fc13c302d0\motan-core-1.1.0.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.weibo\motan-transport-netty\1.1.0\bd7ecda592b593ba8b83ae5a5a5ea6e8dc983d57\motan-transport-netty-1.1.0.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.weibo\motan-springsupport\1.1.0\6a2928dcff9b7450086fd76db62e087a4442a07\motan-springsupport-1.1.0.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.weibo\motan-registry-zookeeper\1.1.0\db718374439db6ef0899ddbe63f23d3de00570a3\motan-registry-zookeeper-1.1.0.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.weibo\motan-protocol-restful\1.1.0\810008a97acc5c1e36cf4f724534a49c45de29e7\motan-protocol-restful-1.1.0.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.jboss.resteasy\resteasy-jackson2-provider\3.0.14.Final\7126a2267d2ed84472cca7bd7804020962def5d3\resteasy-jackson2-provider-3.0.14.Final.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.projectlombok\lombok\1.16.20\ac76d9b956045631d1561a09289cbf472e077c01\lombok-1.16.20.jar;E:\item\youweileifeng\smarthome\setsun\core\build\classes\main;E:\item\youweileifeng\smarthome\setsun\core\build\resources\main;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\cn.thunderwind\smarthome-uc-api\0.0.1\434d3bf8bc04c279f9bd99952a6ecc917324b67d\smarthome-uc-api-0.0.1.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter\1.5.9.RELEASE\6bfb34db2715ee86c6e2337fa145650588b4b1b3\spring-boot-starter-1.5.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-tomcat\1.5.9.RELEASE\4615056f8a2bcad03ba8cdf410419ee3d101c5bb\spring-boot-starter-tomcat-1.5.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.hibernate\hibernate-validator\5.3.6.Final\4c730be8bf55a8e9a61e79a2f2c079abf48b718\hibernate-validator-5.3.6.Final.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-databind\2.8.10\f7b83cb2bc4b88d53961e749e1ad32f49ef017b7\jackson-databind-2.8.10.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework\spring-web\4.3.13.RELEASE\7cd084992d546165ede3e99bc31ee49c937f0ce7\spring-web-4.3.13.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework\spring-webmvc\4.3.13.RELEASE\87a095c7a1d13fe433ae6712787238c1dbaa6919\spring-webmvc-4.3.13.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework\spring-aop\4.3.13.RELEASE\61f427b55951f59b50f3c2bd0de3c48960e2a342\spring-aop-4.3.13.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.aspectj\aspectjweaver\1.8.13\ad94df2a28d658a40dc27bbaff6a1ce5fbf04e9b\aspectjweaver-1.8.13.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.data\spring-data-redis\1.8.9.RELEASE\cc69ad7b0ce12e2dc26e22ebb93caeb2a3ce70b9\spring-data-redis-1.8.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\redis.clients\jedis\2.9.0\292bc9cc26553acd3cccc26f2f95620bf88a04c2\jedis-2.9.0.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework\spring-context\4.3.13.RELEASE\6ab1c189a13182fa3256f6bbc68fafdaf8f5a19e\spring-context-4.3.13.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework\spring-context-support\4.3.13.RELEASE\60ad53ac3e972e36757fa59fe0a91ceeb4ea98be\spring-context-support-4.3.13.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.mongodb\mongodb-driver\3.4.3\a1c708919fdca8da4a527cb4ea9df30f8db9993b\mongodb-driver-3.4.3.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.data\spring-data-mongodb\1.10.9.RELEASE\3af5e9fe7da19a3168359ce25126e63142e9120c\spring-data-mongodb-1.10.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-jdbc\1.5.9.RELEASE\6769ecea55e952afb64f17975638c5afd1e59ef3\spring-boot-starter-jdbc-1.5.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.mybatis.spring.boot\mybatis-spring-boot-autoconfigure\1.3.1\af4ba7d4594459cbad87cb5561c271da26df3aa\mybatis-spring-boot-autoconfigure-1.3.1.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.mybatis\mybatis\3.4.5\5200759b13f70652995fd206a52fdc98b01c65cd\mybatis-3.4.5.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.mybatis\mybatis-spring\1.3.1\5197169e15a43066f177a1cd12a098e1283fdc76\mybatis-spring-1.3.1.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\commons-pool\commons-pool\1.6\4572d589699f09d866a226a14b7f4323c6d8f040\commons-pool-1.6.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.caucho\hessian\4.0.38\9824f3e96ed3024bf2757cdd56e045cc9d48f7a8\hessian-4.0.38.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.codahale.metrics\metrics-core\3.0.1\1e98427c7f6e53363b598e2943e50903ce4f3657\metrics-core-3.0.1.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.google.guava\guava\18.0\cce0823396aa693798f8882e64213b1772032b09\guava-18.0.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.squareup\javapoet\1.8.0\e858dc62ef484048540d27d36f3ec2177a3fa9b1\javapoet-1.8.0.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.slf4j\slf4j-api\1.7.25\da76ca59f6a57ee3102f8f9bd9cee742973efa8a\slf4j-api-1.7.25.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\commons-codec\commons-codec\1.10\4b95f4897fa13f2cd904aee711aeafc0c5295cd8\commons-codec-1.10.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.jboss.netty\netty\3.2.5.Final\60f6ce4af55b0fcd54dd6522cbf588de0387e2f5\netty-3.2.5.Final.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.apache.zookeeper\zookeeper\3.4.8\933ea2ed15e6a0e24b788973e3d128ff163c3136\zookeeper-3.4.8.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.101tec\zkclient\0.3\dedcf2b53fb742adba7080ac3aed781694ba616e\zkclient-0.3.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\javax.ws.rs\javax.ws.rs-api\2.0.1\104e9c2b5583cfcfeac0402316221648d6d8ea6b\javax.ws.rs-api-2.0.1.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.jboss.resteasy\resteasy-netty\3.0.7.Final\7346f744eb7fae3620c93b1b2cc84539b18377c6\resteasy-netty-3.0.7.Final.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.jboss.resteasy\resteasy-jaxrs\3.0.7.Final\b1fedab2916c6f2982337467752edbd3f516dca\resteasy-jaxrs-3.0.7.Final.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.jboss.resteasy\resteasy-client\3.0.7.Final\b0731fb0a80633aeb017039de144565dfbcfff5f\resteasy-client-3.0.7.Final.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.8.10\eb21a035c66ad307e66ec8fce37f5d50fd62d039\jackson-core-2.8.10.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-annotations\2.8.0\45b426f7796b741035581a176744d91090e2e6fb\jackson-annotations-2.8.0.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.fasterxml.jackson.jaxrs\jackson-jaxrs-json-provider\2.8.10\f8837cf03871569eb02a491dea64929e5da14b4\jackson-jaxrs-json-provider-2.8.10.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.china95059\smarthome-addr-core\0.0.3\71b817479ead398cd6b9a19f76901da2b8ec7046\smarthome-addr-core-0.0.3.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.boot\spring-boot\1.5.9.RELEASE\f472cdf948288796fb31e0bb03f6e7b022b763a0\spring-boot-1.5.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-autoconfigure\1.5.9.RELEASE\88dd18bdaf317ae40971573a051fd47265f2ed39\spring-boot-autoconfigure-1.5.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.boot\spring-boot-starter-logging\1.5.9.RELEASE\30fd62a1ce9639759d90d49608501082314c1628\spring-boot-starter-logging-1.5.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework\spring-core\4.3.13.RELEASE\eea18d7f4d01f1baa1b6728b678b5a6fe23c61f6\spring-core-4.3.13.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.yaml\snakeyaml\1.17\7a27ea250c5130b2922b86dea63cbb1cc10a660c\snakeyaml-1.17.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.apache.tomcat.embed\tomcat-embed-core\8.5.23\79261793a47f507890ee08f749b9d81774e4f7f0\tomcat-embed-core-8.5.23.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.apache.tomcat.embed\tomcat-embed-el\8.5.23\98d979cde444dffa6d434c8377d0123b2dfa614c\tomcat-embed-el-8.5.23.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.apache.tomcat.embed\tomcat-embed-websocket\8.5.23\52f07abcae10dc7e1764304b0877def175c2c833\tomcat-embed-websocket-8.5.23.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\javax.validation\validation-api\1.1.0.Final\8613ae82954779d518631e05daa73a6a954817d5\validation-api-1.1.0.Final.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.jboss.logging\jboss-logging\3.3.1.Final\c46217ab74b532568c0ed31dc599db3048bd1b67\jboss-logging-3.3.1.Final.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.fasterxml\classmate\1.3.4\3d5f48f10bbe4eb7bd862f10c0583be2e0053c6\classmate-1.3.4.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework\spring-beans\4.3.13.RELEASE\8613a7077722f1d97f8cb3fea4b0b40bfadf4496\spring-beans-4.3.13.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework\spring-expression\4.3.13.RELEASE\da22bf7df1262e429b49653be6cd5b89b6affe5e\spring-expression-4.3.13.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.data\spring-data-keyvalue\1.2.9.RELEASE\e5659a11ef5d45e8011f47f35891548322eed936\spring-data-keyvalue-1.2.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework\spring-tx\4.3.13.RELEASE\6ebf7b3f2099fa884038d9d7bd44817ebd9c5b4a\spring-tx-4.3.13.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework\spring-oxm\4.3.13.RELEASE\d21d48871a335854db62b62300e3fcfabbd902d1\spring-oxm-4.3.13.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.slf4j\jcl-over-slf4j\1.7.25\f8c32b13ff142a513eeb5b6330b1588dcb2c0461\jcl-over-slf4j-1.7.25.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.apache.commons\commons-pool2\2.4.3\e7ab2a5143cb4e0b21d8ca81c265095e4567dd22\commons-pool2-2.4.3.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.mongodb\mongodb-driver-core\3.4.3\c588da4e7b4ac9330e58d4d5b414508ccb14367b\mongodb-driver-core-3.4.3.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.mongodb\bson\3.4.3\83a9328ce8ffbdf29f4b46b531012427983ad3ec\bson-3.4.3.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework.data\spring-data-commons\1.13.9.RELEASE\3910a598235d2e9c1ca56f34c5e62bb5ce23778\spring-data-commons-1.13.9.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.apache.tomcat\tomcat-jdbc\8.5.23\6036400a8f2d90dd3ae3a4d09e5136c56002887b\tomcat-jdbc-8.5.23.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.springframework\spring-jdbc\4.3.13.RELEASE\68e95c2a065641559c7dab7b605bc5847ab026ad\spring-jdbc-4.3.13.RELEASE.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\jline\jline\0.9.94\99a18e9a44834afdebc467294e1138364c207402\jline-0.9.94.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\io.netty\netty\3.7.0.Final\7a8c35599c68c0bf383df74469aa3e03d9aca87\netty-3.7.0.Final.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.jboss.resteasy\jaxrs-api\3.0.7.Final\d7948ea47acaef62ece35b71c0422d1a0fbecca7\jaxrs-api-3.0.7.Final.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.apache.httpcomponents\httpclient\4.5.3\d1577ae15f01ef5438c5afc62162457c00a34713\httpclient-4.5.3.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\commons-io\commons-io\2.1\fd51f906669f49a4ffd06650666c3b8147a6106e\commons-io-2.1.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.fasterxml.jackson.jaxrs\jackson-jaxrs-base\2.8.10\50a3d02a31cb427272a96fe696b5ac9442c7cfa1\jackson-jaxrs-base-2.8.10.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\com.fasterxml.jackson.module\jackson-module-jaxb-annotations\2.8.10\22df8efd0cff7661bf136148c73e2651748f7600\jackson-module-jaxb-annotations-2.8.10.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\ch.qos.logback\logback-classic\1.1.11\ccedfbacef4a6515d2983e3f89ed753d5d4fb665\logback-classic-1.1.11.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.slf4j\jul-to-slf4j\1.7.25\af5364cd6679bfffb114f0dec8a157aaa283b76\jul-to-slf4j-1.7.25.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.slf4j\log4j-over-slf4j\1.7.25\a87bb47468f47ee7aabbd54f93e133d4215769c3\log4j-over-slf4j-1.7.25.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.apache.tomcat\tomcat-annotations-api\8.5.23\aaf17df9fe0240e9e9d5375d24d5f177174b73d9\tomcat-annotations-api-8.5.23.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.apache.tomcat\tomcat-juli\8.5.23\98e7f0610b7b2fb8303f11be0210e3f5a56a7d55\tomcat-juli-8.5.23.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\org.apache.httpcomponents\httpcore\4.4.8\70539e2a07865bab38b4153da1ce599cf081790a\httpcore-4.4.8.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\ch.qos.logback\logback-core\1.1.11\88b8df40340eed549fb07e2613879bf6b006704d\logback-core-1.1.11.jar;E:\tool\gradle-3.2.1\caches\modules-2\files-2.1\log4j\log4j\1.2.16\7999a63bfccbc7c247a9aea10d83d4272bd492c6\log4j-1.2.16.jar;C:\Program Files (x86)\Java\develop\idea\lib\idea_rt.jar" cn.thunderwind.uc.Client Connected to the target VM, address: '127.0.0.1:7831', transport: 'socket' . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v1.5.9.RELEASE) 13:37:35.894 server_log [main] INFO cn.thunderwind.uc.Client - Starting Client on setsun with PID 11452 (E:\item\youweileifeng\smarthome\setsun\uc-client\build\classes\main started by setsun in E:\item\youweileifeng\smarthome\setsun) 13:37:36.069 server_log [main] INFO cn.thunderwind.uc.Client - No active profile set, falling back to default profiles: default 13:37:36.095 server_log [background-preinit] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 5.3.6.Final 13:37:36.127 server_log [main] INFO o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@8dec2b: startup date [Wed Feb 28 13:37:36 CST 2018]; root of context hierarchy 13:37:36.835 server_log [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode! 13:37:36.861 server_log [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode! 13:37:37.099 server_log [main] WARN o.s.c.a.ConfigurationClassEnhancer - @Bean method MotanConfiguration.motanAnnotationBean is non-static and returns an object assignable to Spring's BeanFactoryPostProcessor interface. This will result in a failure to process annotations such as @Autowired, @Resource and @PostConstruct within the method's declaring @Configuration class. Add the 'static' modifier to this method to avoid these container lifecycle issues; see @Bean javadoc for complete details. 13:37:37.110 server_log [main] INFO info - AllSpiInitialization init. 13:37:37.112 server_log [main] INFO info - AllSpiInitialization init finish. 13:37:37.805 server_log [main] INFO o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat initialized with port(s): 9087 (http) 13:37:37.814 server_log [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] 13:37:37.815 server_log [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet Engine: Apache Tomcat/8.5.23 13:37:37.920 server_log [localhost-startStop-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext 13:37:37.921 server_log [localhost-startStop-1] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 1797 ms 13:37:38.063 server_log [localhost-startStop-1] INFO o.s.b.w.s.ServletRegistrationBean - Mapping servlet: 'dispatcherServlet' to [/] 13:37:38.068 server_log [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'characterEncodingFilter' to: [/*] 13:37:38.069 server_log [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'hiddenHttpMethodFilter' to: [/*] 13:37:38.069 server_log [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'httpPutFormContentFilter' to: [/*] 13:37:38.069 server_log [localhost-startStop-1] INFO o.s.b.w.s.FilterRegistrationBean - Mapping filter: 'requestContextFilter' to: [/*] 13:37:38.252 server_log [main] WARN o.s.b.GenericTypeAwarePropertyDescriptor - Invalid JavaBean property 'protocol' being accessed! Ambiguous write methods found next to actually used [public void com.weibo.api.motan.config.springsupport.BasicRefererConfigBean.setProtocol(java.lang.String)]: [public void com.weibo.api.motan.config.AbstractInterfaceConfig.setProtocol(com.weibo.api.motan.config.ProtocolConfig)] 13:37:38.253 server_log [main] WARN o.s.b.GenericTypeAwarePropertyDescriptor - Invalid JavaBean property 'registry' being accessed! Ambiguous write methods found next to actually used [public void com.weibo.api.motan.config.springsupport.BasicRefererConfigBean.setRegistry(java.lang.String)]: [public void com.weibo.api.motan.config.AbstractInterfaceConfig.setRegistry(com.weibo.api.motan.config.RegistryConfig)] 13:37:38.317 server_log [main] INFO info - ClusterSupport config change notify: registry=local://127.0.0.1:0/com.weibo.api.motan.registry.RegistryService service=restful://192.168.10.102:0/default_rpc/cn.thunderwind.uc.service.UserService/1.0/referer urls=[restful://192.168.1.205:8076/default_rpc/cn.thunderwind.uc.service.UserService/1.0/service] 13:37:38.318 server_log [main] INFO info - refresh weight. weight= 13:37:38.318 server_log [main] INFO info - ignore weightString: 13:37:38.323 server_log [main] INFO info - NettyEndpointFactory create share_channel client: url=restful://192.168.1.205:8076/cn.thunderwind.uc.service.UserService?group=default_rpc 13:37:38.677 server_log [main] INFO info - RestfulReferer node init Success: [RestfulReferer] url=restful://192.168.1.205:8076/cn.thunderwind.uc.service.UserService?group=default_rpc 13:37:38.678 server_log [main] INFO info - RestfulProtocol refer Success: url=restful://192.168.1.205:8076/cn.thunderwind.uc.service.UserService?group=default_rpc, cost:359 13:37:38.697 server_log [main] INFO info - Use direct urls, refUrl=restful://192.168.10.102:0/cn.thunderwind.uc.service.UserService?group=default_rpc, directUrls=[restful://192.168.1.205:8076/cn.thunderwind.uc.service.UserService?group=default_rpc] 13:37:38.698 server_log [main] INFO info - cluster init cost 388, refer size:1, cluster:restful://192.168.10.102:0/cn.thunderwind.uc.service.UserService?group=default_rpc 13:37:38.707 server_log [main] INFO info - ClusterSupport config change notify: registry=local://127.0.0.1:0/com.weibo.api.motan.registry.RegistryService service=restful://192.168.10.102:0/default_rpc/cn.thunderwind.uc.service.UserOperateService/1.0/referer urls=[restful://192.168.1.205:8076/default_rpc/cn.thunderwind.uc.service.UserOperateService/1.0/service] 13:37:38.707 server_log [main] INFO info - refresh weight. weight= 13:37:38.707 server_log [main] INFO info - ignore weightString: 13:37:38.707 server_log [main] INFO info - NettyEndpointFactory create share_channel client: url=restful://192.168.1.205:8076/cn.thunderwind.uc.service.UserOperateService?group=default_rpc 13:37:38.709 server_log [main] INFO info - RestfulReferer node init Success: [RestfulReferer] url=restful://192.168.1.205:8076/cn.thunderwind.uc.service.UserOperateService?group=default_rpc 13:37:38.709 server_log [main] INFO info - RestfulProtocol refer Success: url=restful://192.168.1.205:8076/cn.thunderwind.uc.service.UserOperateService?group=default_rpc, cost:2 13:37:38.710 server_log [main] INFO info - Use direct urls, refUrl=restful://192.168.10.102:0/cn.thunderwind.uc.service.UserOperateService?group=default_rpc, directUrls=[restful://192.168.1.205:8076/cn.thunderwind.uc.service.UserOperateService?group=default_rpc] 13:37:38.710 server_log [main] INFO info - cluster init cost 4, refer size:1, cluster:restful://192.168.10.102:0/cn.thunderwind.uc.service.UserOperateService?group=default_rpc 13:37:39.071 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerAdapter - Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@8dec2b: startup date [Wed Feb 28 13:37:36 CST 2018]; root of context hierarchy 13:37:39.146 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/insertUser],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.insertUser(cn.thunderwind.uc.pojo.UcUser) 13:37:39.147 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/completeUser],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.completeUser(cn.thunderwind.uc.pojo.UcUser) 13:37:39.147 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/getString],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.getALLUsers1() 13:37:39.148 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/selectLiveTool],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.selectLiveTool(cn.thunderwind.uc.pojo.UcUser) 13:37:39.148 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/selectLiveScene],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.selectLiveScene(cn.thunderwind.uc.pojo.UcUser) 13:37:39.149 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/updatePassword],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.updatePassword(cn.thunderwind.uc.pojo.UcUser) 13:37:39.149 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/selectLiveRoom],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.selectLiveRoom(cn.thunderwind.uc.pojo.UcUser) 13:37:39.149 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/selectUser],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.selectUser(cn.thunderwind.uc.pojo.UcUser) 13:37:39.150 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/selectToDayUser],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.selectToDayUser() 13:37:39.150 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/loginUser],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.loginUser(cn.thunderwind.uc.pojo.UcUser) 13:37:39.150 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/selectUuid],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.selectUuid(cn.thunderwind.uc.pojo.UcUser) 13:37:39.151 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/updateNickname],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.updateNickname(cn.thunderwind.uc.pojo.UcUser) 13:37:39.151 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/loginToMobileUser],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.loginToMobileUser(cn.thunderwind.uc.pojo.UcUser) 13:37:39.152 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/updateToMobilePassword],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.updateToMobilePassword(cn.thunderwind.uc.pojo.UcUser) 13:37:39.152 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/selectLiveAddress],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.selectLiveAddress(cn.thunderwind.uc.pojo.UcUser) 13:37:39.152 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/user/selectUserProcedure],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserController.selectUserProcedure(cn.thunderwind.uc.pojo.UcUser) 13:37:39.154 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/userOperate/sortRoom],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserOperateController.sortRoom(cn.thunderwind.uc.pojo.response.ListSort) 13:37:39.155 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/userOperate/getStr],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserOperateController.getALLUsers1() 13:37:39.155 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/userOperate/sortAddress],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserOperateController.SortAddress(cn.thunderwind.uc.pojo.response.ListSort) 13:37:39.155 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/userOperate/UpdateDevice],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserOperateController.updateDevice(cn.thunderwind.uc.pojo.UserDevice) 13:37:39.156 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/userOperate/UpdateRoom],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserOperateController.updateRoom(cn.thunderwind.uc.pojo.UserRoom) 13:37:39.156 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/userOperate/UpdateAddress],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserOperateController.UpdateAddress(cn.thunderwind.uc.pojo.UserAddress) 13:37:39.156 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/userOperate/UpdateScene],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserOperateController.updateScene(cn.thunderwind.uc.pojo.UserScene) 13:37:39.157 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/userOperate/sortDevice],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserOperateController.sortDevice(cn.thunderwind.uc.pojo.response.ListSort) 13:37:39.157 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/userOperate/sortScene],methods=[POST],produces=[application/json;charset=UTF-8]}" onto public com.china95059.core.model.ResponseEntity cn.thunderwind.uc.user.UserOperateController.sortScene(cn.thunderwind.uc.pojo.response.ListSort) 13:37:39.159 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest) 13:37:39.159 server_log [main] INFO o.s.w.s.m.m.a.RequestMappingHandlerMapping - Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) 13:37:39.207 server_log [main] INFO o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 13:37:39.208 server_log [main] INFO o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 13:37:39.264 server_log [main] INFO o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 13:37:39.725 server_log [main] INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[192.168.1.203:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500} 13:37:39.897 server_log [cluster-ClusterId{value='5a96402331aebc2cbc481088', description='null'}-192.168.1.203:27017] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:587}] to 192.168.1.203:27017 13:37:39.903 server_log [cluster-ClusterId{value='5a96402331aebc2cbc481088', description='null'}-192.168.1.203:27017] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=192.168.1.203:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[2, 6, 12]}, minWireVersion=0, maxWireVersion=2, maxDocumentSize=16777216, roundTripTimeNanos=4580058} 13:37:40.265 server_log [main] INFO o.s.j.e.a.AnnotationMBeanExporter - Registering beans for JMX exposure on startup 13:37:40.279 server_log [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-9087"] 13:37:40.290 server_log [main] INFO o.a.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-9087"] 13:37:40.303 server_log [main] INFO o.a.tomcat.util.net.NioSelectorPool - Using a shared selector for servlet write/read 13:37:40.342 server_log [main] INFO o.s.b.c.e.t.TomcatEmbeddedServletContainer - Tomcat started on port(s): 9087 (http) 13:37:40.346 server_log [main] INFO cn.thunderwind.uc.Client - Started Client in 4.821 seconds (JVM running for 5.616) Client start ... 13:37:48.891 server_log [http-nio-9087-exec-1] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring FrameworkServlet 'dispatcherServlet' 13:37:48.893 server_log [http-nio-9087-exec-1] INFO o.s.web.servlet.DispatcherServlet - FrameworkServlet 'dispatcherServlet': initialization started 13:37:48.920 server_log [http-nio-9087-exec-1] INFO o.s.web.servlet.DispatcherServlet - FrameworkServlet 'dispatcherServlet': initialization completed in 26 ms 13:37:57.091 server_log [http-nio-9087-exec-1] ERROR c.c.c.m.s.f.MotanExceptionFilter - {"logType":"ERROR","source":{"methodName":"transExceptionRespWithResp","className":"com.china95059.core.motan.spi.filter.MotanExceptionFilter","fileName":"MotanExceptionFilter.java","lineNumber":"48"},"content":"MotanService 返回异常"} 13:42:31.410 server_log [http-nio-9087-exec-1] ERROR c.c.c.m.s.f.MotanExceptionFilter - {"logType":"ERROR","source":{"methodName":"transExceptionRespWithReq","className":"com.china95059.core.motan.spi.filter.MotanExceptionFilter","fileName":"MotanExceptionFilter.java","lineNumber":"65"},"content":"MotanService 返回异常"} 13:44:27.220 server_log [http-nio-9087-exec-1] ERROR error - RefererInvocationHandler invoke Error: uri=restful://192.168.10.102:0/cn.thunderwind.uc.service.UserService requestId=1593621899906121729 interface=cn.thunderwind.uc.service.UserService method=selectUser(cn.thunderwind.uc.pojo.UcUser) com.weibo.api.motan.exception.MotanServiceException: error_message: ClusterSpi Call false for request: cn.thunderwind.uc.service.UserService.selectUser(cn.thunderwind.uc.pojo.UcUser) requestId=1593621899906121729, status: 503, error_code: 10001,r=null at com.weibo.api.motan.cluster.support.ClusterSpi.callFalse(ClusterSpi.java:190) at com.weibo.api.motan.cluster.support.ClusterSpi.call(ClusterSpi.java:75) at com.weibo.api.motan.proxy.RefererInvocationHandler.invoke(RefererInvocationHandler.java:132) at com.sun.proxy.$Proxy82.selectUser(Unknown Source) at cn.thunderwind.uc.user.UserController.selectUser(UserController.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872) at javax.servlet.http.HttpServlet.service(HttpServlet.java:661) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException: null at com.china95059.core.motan.spi.filter.MotanExceptionFilter.transExceptionRespWithReq(MotanExceptionFilter.java:73) at com.china95059.core.motan.spi.filter.MotanExceptionFilter.filter(MotanExceptionFilter.java:41) at com.weibo.api.motan.protocol.support.ProtocolFilterDecorator$1.call(ProtocolFilterDecorator.java:86) at com.china95059.core.motan.spi.filter.MotanLogFilter.filter(MotanLogFilter.java:56) at com.weibo.api.motan.protocol.support.ProtocolFilterDecorator$1.call(ProtocolFilterDecorator.java:86) at com.weibo.api.motan.cluster.ha.FailoverHaStrategy.call(FailoverHaStrategy.java:72) at com.weibo.api.motan.cluster.support.ClusterSpi.call(ClusterSpi.java:73) ... 57 common frames omitted 13:45:45.459 server_log [http-nio-9087-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.OutOfMemoryError: Java heap space] with root cause java.lang.OutOfMemoryError: Java heap space at java.util.LinkedHashMap.newNode(LinkedHashMap.java:256) at java.util.HashMap.putVal(HashMap.java:630) at java.util.HashMap.put(HashMap.java:611) at org.bson.Document.put(Document.java:327) at com.china95059.core.log.appender.MongoDbAppender.convertStackTraceElement(MongoDbAppender.java:153) at com.china95059.core.log.appender.MongoDbAppender.convertStackTrace(MongoDbAppender.java:166) at com.china95059.core.log.appender.MongoDbAppender.getDocument2(MongoDbAppender.java:127) at com.china95059.core.log.appender.MongoDbAppender.append(MongoDbAppender.java:48) at com.china95059.core.log.appender.MongoDbAppender.append(MongoDbAppender.java:30) at ch.qos.logback.core.AppenderBase.doAppend(AppenderBase.java:82) at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:51) at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:270) at ch.qos.logback.classic.Logger.callAppenders(Logger.java:257) at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:421) at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:383) at ch.qos.logback.classic.Logger.error(Logger.java:538) at com.weibo.api.motan.log.DefaultLogService.error(DefaultLogService.java:87) at com.weibo.api.motan.util.LoggerUtil.error(LoggerUtil.java:100) at com.weibo.api.motan.proxy.RefererInvocationHandler.invoke(RefererInvocationHandler.java:176) at com.sun.proxy.$Proxy82.selectUser(Unknown Source) at cn.thunderwind.uc.user.UserController.selectUser(UserController.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967) Disconnected from the target VM, address: '127.0.0.1:7831', transport: 'socket' Process finished with exit code 1




启动的时候有一段警告,javaBean没有找到,最后经过断点调试发现,还是没有找到资源,写入MongoDB日志出错,

错误有一段是这样的

7:57.091 server_log [http-nio-9087-exec-1] ERROR c.c.c.m.s.f.MotanExceptionFilter - {"logType":"ERROR","source":{"methodName":"transExceptionRespWithResp","className":"com.china95059.core.motan.spi.filter.MotanExceptionFilter","fileName":"MotanExceptionFilter.java","lineNumber":"48"},"content":"MotanService 返回异常"} 13:42:31.410 server_log [http-nio-9087-exec-1] ERROR c.c.c.m.s.f.MotanExceptionFilter - {"logType":"ERROR","source":{"methodName":"transExceptionRespWithReq","className":"com.china95059.core.motan.spi.filter.MotanExceptionFilter","fileName":"MotanExceptionFilter.java","lineNumber":"65"},"content":"MotanService 返回异常"} 13:44:27.220 server_log [http-nio-9087-exec-1] ERROR error - RefererInvocationHandler invoke Error: uri=restful://192.168.10.102:0/cn.thunderwind.uc.service.UserService requestId=1593621899906121729 interface=cn.thunderwind.uc.service.UserService method=selectUser(cn.thunderwind.uc.pojo.UcUser) com.weibo.api.motan.exception.MotanServiceException: error_message: ClusterSpi Call false for request: cn.thunderwind.uc.service.UserService.selectUser(cn.thunderwind.uc.pojo.UcUser) requestId=1593621899906121729, status: 503, error_code: 10001,r=null

.......

Caused by: java.lang.NullPointerException: null



目前还没有找到原因,我试过把私服的对外暴露接口的jar放在tomcat里面看看能不能找到bean然后没有什么用,持续更新中...直到找到原因,并解决完成