[INFO] Scanning for projects... [INFO] [INFO] --------------------< com.bjsxt:dubbo-user-portal >--------------------- [INFO] Building dubbo-user-portal 0.0.1-SNAPSHOT [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ dubbo-user-portal >>> [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ dubbo-user-portal --- [WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 0 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ dubbo-user-portal --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ dubbo-user-portal <<< [INFO] [INFO] [INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ dubbo-user-portal --- [INFO] Running war on http://localhost:8080/ [INFO] Using existing Tomcat server configuration at D:\java\eclipsejavaEEphotonworkspace\dubbo-user-consumer\dubbo-user-portal\target\tomcat [INFO] create webapp with contextPath: 八月 10, 2019 7:07:17 下午 org.apache.coyote.AbstractProtocol init 信息: Initializing ProtocolHandler ["http-bio-8080"] 八月 10, 2019 7:07:17 下午 org.apache.catalina.core.StandardService startInternal 信息: Starting service Tomcat 八月 10, 2019 7:07:17 下午 org.apache.catalina.core.StandardEngine startInternal 信息: Starting Servlet Engine: Apache Tomcat/7.0.47 八月 10, 2019 7:07:20 下午 org.apache.catalina.core.ApplicationContext log 信息: No Spring WebApplicationInitializer types detected on classpath 八月 10, 2019 7:07:20 下午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. 八月 10, 2019 7:07:37 下午 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.bjsxt.dubbo.service.AddUserDubboService com.bjsxt.service.impl.UserServiceImpl.addUserDubboService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'addUserDubboService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.bjsxt.dubbo.service.AddUserDubboService. No provider available for the service com.bjsxt.dubbo.service.AddUserDubboService from the url zookeeper://192.168.243.128:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=myconsumer1111&check=false&dubbo=2.5.4&generic=false&interface=com.bjsxt.dubbo.service.AddUserDubboService&methods=addUser&pid=792&revision=0.0.1-SNAPSHOT&side=consumer&timeout=300000×tamp=1565435252238 to the consumer 192.168.243.1 use dubbo version 2.5.4 at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.bjsxt.dubbo.service.AddUserDubboService com.bjsxt.service.impl.UserServiceImpl.addUserDubboService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'addUserDubboService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.bjsxt.dubbo.service.AddUserDubboService. No provider available for the service com.bjsxt.dubbo.service.AddUserDubboService from the url zookeeper://192.168.243.128:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=myconsumer1111&check=false&dubbo=2.5.4&generic=false&interface=com.bjsxt.dubbo.service.AddUserDubboService&methods=addUser&pid=792&revision=0.0.1-SNAPSHOT&side=consumer&timeout=300000×tamp=1565435252238 to the consumer 192.168.243.1 use dubbo version 2.5.4 at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:558) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ... 22 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'addUserDubboService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.bjsxt.dubbo.service.AddUserDubboService. No provider available for the service com.bjsxt.dubbo.service.AddUserDubboService from the url zookeeper://192.168.243.128:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=myconsumer1111&check=false&dubbo=2.5.4&generic=false&interface=com.bjsxt.dubbo.service.AddUserDubboService&methods=addUser&pid=792&revision=0.0.1-SNAPSHOT&side=consumer&timeout=300000×tamp=1565435252238 to the consumer 192.168.243.1 use dubbo version 2.5.4 at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1506) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:250) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:530) ... 24 more Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.bjsxt.dubbo.service.AddUserDubboService. No provider available for the service com.bjsxt.dubbo.service.AddUserDubboService from the url zookeeper://192.168.243.128:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=myconsumer1111&check=false&dubbo=2.5.4&generic=false&interface=com.bjsxt.dubbo.service.AddUserDubboService&methods=addUser&pid=792&revision=0.0.1-SNAPSHOT&side=consumer&timeout=300000×tamp=1565435252238 to the consumer 192.168.243.1 use dubbo version 2.5.4 at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:407) at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:320) at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:159) at com.alibaba.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:65) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168) ... 32 more 八月 10, 2019 7:07:37 下午 org.apache.catalina.core.StandardContext startInternal 严重: Error listenerStart 八月 10, 2019 7:07:37 下午 org.apache.catalina.core.StandardContext startInternal 严重: Context [] startup failed due to previous errors 八月 10, 2019 7:07:37 下午 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 八月 10, 2019 7:07:37 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [DubboRegistryFailedRetryTimer-thread-1] but has failed to stop it. This is very likely to create a memory leak. 八月 10, 2019 7:07:37 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [ZkClient-EventThread-17-192.168.243.128:2181,192.168.243.128:2182,192.168.243.128:2183] but has failed to stop it. This is very likely to create a memory leak. 八月 10, 2019 7:07:37 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [localhost-startStop-1-SendThread(192.168.243.128:2182)] but has failed to stop it. This is very likely to create a memory leak. 八月 10, 2019 7:07:37 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [localhost-startStop-1-EventThread] but has failed to stop it. This is very likely to create a memory leak. 八月 10, 2019 7:07:37 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [DubboSaveRegistryCache-thread-1] but has failed to stop it. This is very likely to create a memory leak. 八月 10, 2019 7:07:37 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [DubboClientReconnectTimer-thread-1] but has failed to stop it. This is very likely to create a memory leak. 八月 10, 2019 7:07:37 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [New I/O client boss #1] but has failed to stop it. This is very likely to create a memory leak. 八月 10, 2019 7:07:37 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [DubboClientHandler-117.59.224.141:20881-thread-1] but has failed to stop it. This is very likely to create a memory leak. 八月 10, 2019 7:07:37 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 严重: The web application [] appears to have started a thread named [dubbo-remoting-client-heartbeat-thread-1] but has failed to stop it. This is very likely to create a memory leak. 八月 10, 2019 7:07:37 下午 org.apache.coyote.AbstractProtocol start 信息: Starting ProtocolHandler ["http-bio-8080"] 八月 10, 2019 7:07:38 下午 org.apache.catalina.loader.WebappClassLoader loadClass 信息: Illegal access: this web application instance has been stopped already. Could not load java.util.concurrent.ScheduledFuture. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. java.lang.IllegalStateException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1588) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) at com.alibaba.dubbo.remoting.transport.AbstractClient.initConnectStatusCheckCommand(AbstractClient.java:152) at com.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:267) at com.alibaba.dubbo.remoting.transport.AbstractClient$1.run(AbstractClient.java:157) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 八月 10, 2019 7:10:08 下午 org.apache.catalina.loader.WebappClassLoader loadClass 信息: Illegal access: this web application instance has been stopped already. Could not load org.apache.zookeeper.proto.SetWatches. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. java.lang.IllegalStateException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1588) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) at org.apache.zookeeper.ClientCnxn$SendThread.primeConnection(ClientCnxn.java:926) at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:363) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)