为什么我启动tomcat7:run错误一大堆

1.我的zookeeper集群注册中心搭起来了,私服也搭起来了发布是成功的
2.所有代码是老师的源码,因为我自己写一样的效果
全部内容如下:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ego-manager-web 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> tomcat7-maven-plugin:2.2:run (default-cli) > process-classes @ ego-manager-web >>>
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ ego-manager-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ ego-manager-web ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to D:\workspace\ego-manager-web\target\classes
[INFO]
[INFO] <<< tomcat7-maven-plugin:2.2:run (default-cli) < process-classes @ ego-manager-web <<<
[INFO]
[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ ego-manager-web ---
[INFO] Running war on http://localhost:8080/
[INFO] Using existing Tomcat server configuration at D:\workspace\ego-manager-web\target\tomcat
[INFO] create webapp with contextPath:
三月 24, 2020 12:17:11 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
三月 24, 2020 12:17:11 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Tomcat
三月 24, 2020 12:17:11 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.47
三月 24, 2020 12:17:13 上午 org.apache.catalina.core.ApplicationContext log
信息: No Spring WebApplicationInitializer types detected on classpath
三月 24, 2020 12:17:13 上午 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.
三月 24, 2020 12:17:14 上午 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 'managerItemServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.bjsxt.ego.rpc.service.ItemService com.bjsxt.ego.manager.service.impl.ManagerItemServiceImpl.itemServiceProxy; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemServiceProxy': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.bjsxt.ego.rpc.service.ItemService. No provider available for the service com.bjsxt.ego.rpc.service.ItemService from the url zookeeper://192.168.21.133:2181/com.alibaba.dubbo.registry.RegistryService?application=ego-manager-web-consumer&dubbo=2.5.3&interface=com.bjsxt.ego.rpc.service.ItemService&methods=selectItemList&pid=12176&revision=0.0.1-SNAPSHOT&side=consumer×tamp=1584980234049 to the consumer 192.168.21.1 use dubbo version 2.5.3
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.bjsxt.ego.rpc.service.ItemService com.bjsxt.ego.manager.service.impl.ManagerItemServiceImpl.itemServiceProxy; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'itemServiceProxy': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.bjsxt.ego.rpc.service.ItemService. No provider available for the service com.bjsxt.ego.rpc.service.ItemService from the url zookeeper://192.168.21.133:2181/com.alibaba.dubbo.registry.RegistryService?application=ego-manager-web-consumer&dubbo=2.5.3&interface=com.bjsxt.ego.rpc.service.ItemService&methods=selectItemList&pid=12176&revision=0.0.1-SNAPSHOT&side=consumer×tamp=1584980234049 to the consumer 192.168.21.1 use dubbo version 2.5.3
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 'itemServiceProxy': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.bjsxt.ego.rpc.service.ItemService. No provider available for the service com.bjsxt.ego.rpc.service.ItemService from the url zookeeper://192.168.21.133:2181/com.alibaba.dubbo.registry.RegistryService?application=ego-manager-web-consumer&dubbo=2.5.3&interface=com.bjsxt.ego.rpc.service.ItemService&methods=selectItemList&pid=12176&revision=0.0.1-SNAPSHOT&side=consumer×tamp=1584980234049 to the consumer 192.168.21.1 use dubbo version 2.5.3
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.ego.rpc.service.ItemService. No provider available for the service com.bjsxt.ego.rpc.service.ItemService from the url zookeeper://192.168.21.133:2181/com.alibaba.dubbo.registry.RegistryService?application=ego-manager-web-consumer&dubbo=2.5.3&interface=com.bjsxt.ego.rpc.service.ItemService&methods=selectItemList&pid=12176&revision=0.0.1-SNAPSHOT&side=consumer×tamp=1584980234049 to the consumer 192.168.21.1 use dubbo version 2.5.3
at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:420)
at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:300)
at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:138)
at com.alibaba.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:65)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
... 32 more
三月 24, 2020 12:17:14 上午 org.apache.catalina.core.StandardContext startInternal
严重: Error listenerStart
三月 24, 2020 12:17:14 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [] startup failed due to previous errors
三月 24, 2020 12:17:14 上午 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
三月 24, 2020 12:17:14 上午 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.
三月 24, 2020 12:17:14 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [ZkClient-EventThread-18-192.168.21.133:2181,192.168.21.133:2182,192.168.21.133:2183] but has failed to stop it. This is very likely to create a memory leak.
三月 24, 2020 12:17:14 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [localhost-startStop-1-SendThread(192.168.21.133:2182)] but has failed to stop it. This is very likely to create a memory leak.
三月 24, 2020 12:17:14 上午 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.
三月 24, 2020 12:17:14 上午 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.
三月 24, 2020 12:17:14 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
自己水平实在有限,难以解决都是一步一步跟着走的!
一般错误都能百度出来这个我百度了看不太懂!