wosyingjun / beauty_ssm_dubbo Goto Github PK
View Code? Open in Web Editor NEW将"优雅的SSM框架"服务化治理(基于Dubbo+Zookeeper)
将"优雅的SSM框架"服务化治理(基于Dubbo+Zookeeper)
Dubbo+Zookeeper分布式服务框架连接404
[ERROR] Failed to execute goal on project beautyssm_distributed_tools: Could not resolve dependencies for project com.yingjun.ssm:beautyssm_distributed_tools:jar:1.0.0: Could not find artifact com.alibaba:dubbo:jar:2.8.4 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
如上 编译报错
dubbo 基本都不更新、不维护了,
转由dubbox更新、维护,而且也增加了restful的支持
看这个项目好像已经是2年前的了,刚开始学dubbo,老哥能简单的说下这个项目要怎么跑起来吗,都必须打成jar包才能跑吗?
你好,请问一下,如果在MQ中处理消息时,这个消息需要调用多个远程服务,这时事务是怎么控制的,我看您的代码,消息队列中只有一个业务,另外远程业务是不是也需要抛出RpcException异常,看addScoreBySyn这个方法没有抛出异常。
你通过 mq消息队列来避免分布式事务,但还是存在一些问题,消息不一定绝对保证一定能到达,如果出现网络中断、服务器宕机等等问题,请问一下作者关于分布式事务一致性您有没有最佳的解决方案?
在把service打Jar包的时候提示api依赖找不到?
正确的 打包顺序应该是?
2016-7-31 23:31:14 org.apache.catalina.core.AprLifecycleListener init
ÐÅÏ¢: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
2016-7-31 23:31:14 org.apache.coyote.http11.Http11Protocol init
ÐÅÏ¢: Initializing Coyote HTTP/1.1 on http-8080
2016-7-31 23:31:14 org.apache.catalina.startup.Catalina load
ÐÅÏ¢: Initialization processed in 465 ms
2016-7-31 23:31:14 org.apache.catalina.core.StandardService start
ÐÅÏ¢: Starting service Catalina
2016-7-31 23:31:14 org.apache.catalina.core.StandardEngine start
ÐÅÏ¢: Starting Servlet Engine: Apache Tomcat/6.0.45
2016-7-31 23:31:14 org.apache.catalina.startup.HostConfig deployDescriptor
ÐÅÏ¢: Deploying configuration descriptor host-manager.xml
2016-7-31 23:31:14 org.apache.catalina.startup.HostConfig deployDescriptor
ÐÅÏ¢: Deploying configuration descriptor manager.xml
2016-7-31 23:31:14 org.apache.catalina.startup.HostConfig deployWAR
ÐÅÏ¢: Deploying web application archive beautyssm_web_user-1.0.0.war
2016-7-31 23:31:14 org.apache.catalina.loader.WebappClassLoader validateJarFile
ÐÅÏ¢: validateJarFile(/Users/hongtianpei/Documents/JAVA-Pro/tomcat/webapps/beautyssm_web_user-1.0.0/WEB-INF/lib/javax.servlet-api-3.1.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2016-07-31 23:31:15,293 INFO[org.springframework.web.servlet.FrameworkServlet:488]- FrameworkServlet 'spring-dispatcher': initialization started
2016-07-31 23:31:15,333 INFO[org.springframework.context.support.AbstractApplicationContext:573]- Refreshing WebApplicationContext for namespace 'spring-dispatcher-servlet': startup date [Sun Jul 31 23:31:15 CST 2016]; root of context hierarchy
2016-07-31 23:31:15,379 INFO[org.springframework.beans.factory.xml.XmlBeanDefinitionReader:317]- Loading XML bean definitions from class path resource [spring/spring-web.xml]
2016-07-31 23:31:15,472 INFO[org.springframework.beans.factory.xml.XmlBeanDefinitionReader:317]- Loading XML bean definitions from class path resource [spring/spring-config.xml]
2016-07-31 23:31:15,523 INFO[org.springframework.beans.factory.xml.XmlBeanDefinitionReader:317]- Loading XML bean definitions from class path resource [dubbo/dubbo-consumer.xml]
2016-07-31 23:31:15,563 INFO[?:?]- using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
2016-07-31 23:31:15,856 INFO[org.springframework.core.io.support.PropertiesLoaderSupport:172]- Loading properties file from class path resource [jdbc.properties]
2016-07-31 23:31:15,861 INFO[org.springframework.core.io.support.PropertiesLoaderSupport:172]- Loading properties file from class path resource [redis.properties]
2016-07-31 23:31:15,864 INFO[org.springframework.core.io.support.PropertiesLoaderSupport:172]- Loading properties file from class path resource [system.properties]
2016-07-31 23:31:15,869 INFO[org.springframework.core.io.support.PropertiesLoaderSupport:172]- Loading properties file from class path resource [ValidationMessages.properties]
2016-07-31 23:31:16,262 INFO[org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry:532]- Mapped "{[/user/list],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public com.yingjun.ssm.common.dto.BootStrapTableResult<com.yingjun.ssm.api.user.entity.User> com.yingjun.ssm.web.user.controller.UserController.list(java.lang.Integer,java.lang.Integer)
2016-07-31 23:31:16,290 INFO[org.hibernate.validator.util.Version:24]- Hibernate Validator 4.2.0.Final
2016-7-31 23:31:16 com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector
¾¯¸æ: Unable to load JDK7 annotation types; will have to skip
2016-07-31 23:31:16,723 INFO[org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter:532]- Looking for @ControllerAdvice: WebApplicationContext for namespace 'spring-dispatcher-servlet': startup date [Sun Jul 31 23:31:15 CST 2016]; root of context hierarchy
2016-07-31 23:31:16,834 INFO[org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter:532]- Looking for @ControllerAdvice: WebApplicationContext for namespace 'spring-dispatcher-servlet': startup date [Sun Jul 31 23:31:15 CST 2016]; root of context hierarchy
2016-07-31 23:31:16,930 INFO[org.springframework.web.servlet.handler.AbstractUrlHandlerMapping:341]- Mapped URL path [/] onto handler 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0'
2016-07-31 23:31:17,065 INFO[com.alibaba.dubbo.registry.support.AbstractRegistry:232]- [DUBBO] Load registry store file /Users/hongtianpei/.dubbo/dubbo-registry-192.168.1.100.cache, data: {com.yingjun.ssm.api.user.service.UserService=empty://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=providers&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1070&revision=1.0.0&side=consumer×tamp=1469979017277 empty://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=configurators&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1070&revision=1.0.0&side=consumer×tamp=1469979017277 empty://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=routers&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1070&revision=1.0.0&side=consumer×tamp=1469979017277}, dubbo version: 2.5.3, current host: 127.0.0.1
2016-07-31 23:31:17,093 INFO[org.I0Itec.zkclient.ZkEventThread:64]- Starting ZkClient event thread.
2016-07-31 23:31:17,108 INFO[org.apache.zookeeper.Environment:100]- Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
2016-07-31 23:31:17,109 INFO[org.apache.zookeeper.Environment:100]- Client environment:host.name=192.168.1.100
2016-07-31 23:31:17,109 INFO[org.apache.zookeeper.Environment:100]- Client environment:java.version=1.6.0_65
2016-07-31 23:31:17,109 INFO[org.apache.zookeeper.Environment:100]- Client environment:java.vendor=Apple Inc.
2016-07-31 23:31:17,109 INFO[org.apache.zookeeper.Environment:100]- Client environment:java.home=/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
2016-07-31 23:31:17,110 INFO[org.apache.zookeeper.Environment:100]- Client environment:java.class.path=/Users/hongtianpei/Documents/JAVA-Pro/tomcat/bin/bootstrap.jar
2016-07-31 23:31:17,110 INFO[org.apache.zookeeper.Environment:100]- Client environment:java.library.path=.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
2016-07-31 23:31:17,110 INFO[org.apache.zookeeper.Environment:100]- Client environment:java.io.tmpdir=/Users/hongtianpei/Documents/JAVA-Pro/tomcat/temp
2016-07-31 23:31:17,110 INFO[org.apache.zookeeper.Environment:100]- Client environment:java.compiler=
2016-07-31 23:31:17,111 INFO[org.apache.zookeeper.Environment:100]- Client environment:os.name=Mac OS X
2016-07-31 23:31:17,111 INFO[org.apache.zookeeper.Environment:100]- Client environment:os.arch=x86_64
2016-07-31 23:31:17,111 INFO[org.apache.zookeeper.Environment:100]- Client environment:os.version=10.11.1
2016-07-31 23:31:17,111 INFO[org.apache.zookeeper.Environment:100]- Client environment:user.name=hongtianpei
2016-07-31 23:31:17,111 INFO[org.apache.zookeeper.Environment:100]- Client environment:user.home=/Users/hongtianpei
2016-07-31 23:31:17,111 INFO[org.apache.zookeeper.Environment:100]- Client environment:user.dir=/Users/hongtianpei/Documents/JAVA-Pro/tomcat/bin
2016-07-31 23:31:17,113 INFO[org.apache.zookeeper.ZooKeeper:438]- Initiating client connection, connectString=192.168.1.100:2181 sessionTimeout=30000 watcher=org.I0Itec.zkclient.ZkClient@5b8099a
2016-07-31 23:31:17,139 INFO[org.I0Itec.zkclient.ZkClient:935]- Waiting for keeper state SyncConnected
2016-07-31 23:31:17,144 INFO[org.apache.zookeeper.ClientCnxn$SendThread:975]- Opening socket connection to server 192.168.1.100/192.168.1.100:2181. Will not attempt to authenticate using SASL (java.lang.SecurityException: ÎÞ·¨¶¨Î»µÇ¼ÅäÖÃ)
2016-07-31 23:31:17,160 INFO[org.apache.zookeeper.ClientCnxn$SendThread:852]- Socket connection established to 192.168.1.100/192.168.1.100:2181, initiating session
2016-07-31 23:31:17,170 INFO[org.apache.zookeeper.ClientCnxn$SendThread:1235]- Session establishment complete on server 192.168.1.100/192.168.1.100:2181, sessionid = 0x156419068c20001, negotiated timeout = 30000
2016-07-31 23:31:17,172 INFO[org.I0Itec.zkclient.ZkClient:712]- zookeeper state changed (SyncConnected)
2016-07-31 23:31:17,196 INFO[com.alibaba.dubbo.registry.support.AbstractRegistry:302]- [DUBBO] Register: consumer://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=consumers&check=false&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969, dubbo version: 2.5.3, current host: 192.168.1.100
2016-07-31 23:31:17,220 INFO[com.alibaba.dubbo.registry.support.AbstractRegistry:325]- [DUBBO] Subscribe: consumer://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=providers,configurators,routers&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969, dubbo version: 2.5.3, current host: 192.168.1.100
2016-07-31 23:31:17,240 INFO[com.alibaba.dubbo.registry.support.AbstractRegistry:422]- [DUBBO] Notify urls for subscribe url consumer://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=providers,configurators,routers&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969, urls: [empty://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=providers&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969, empty://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=configurators&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969, empty://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=routers&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969], dubbo version: 2.5.3, current host: 192.168.1.100
2016-07-31 23:31:17,247 WARN[org.springframework.context.support.AbstractApplicationContext:544]- Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yingjun.ssm.api.user.service.UserService com.yingjun.ssm.web.user.controller.UserController.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969 to the consumer 192.168.1.100 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:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:667)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:633)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:681)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:552)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:493)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4451)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4768)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:803)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:780)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:944)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:779)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:505)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1069)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yingjun.ssm.api.user.service.UserService com.yingjun.ssm.web.user.controller.UserController.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969 to the consumer 192.168.1.100 use dubbo version 2.5.3
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 43 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969 to the consumer 192.168.1.100 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:1574)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:253)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543)
... 45 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969 to the consumer 192.168.1.100 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)
... 53 more
2016-07-31 23:31:17,261 ERROR[org.springframework.web.servlet.FrameworkServlet:501]- Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yingjun.ssm.api.user.service.UserService com.yingjun.ssm.web.user.controller.UserController.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969 to the consumer 192.168.1.100 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:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:667)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:633)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:681)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:552)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:493)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4451)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4768)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:803)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:780)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:944)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:779)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:505)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1322)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:325)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1069)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:759)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yingjun.ssm.api.user.service.UserService com.yingjun.ssm.web.user.controller.UserController.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969 to the consumer 192.168.1.100 use dubbo version 2.5.3
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 43 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969 to the consumer 192.168.1.100 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:1574)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:253)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543)
... 45 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979076969 to the consumer 192.168.1.100 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)
... 53 more
2016-7-31 23:31:17 org.apache.catalina.startup.HostConfig deployDirectory
ÐÅÏ¢: Deploying web application directory docs
2016-7-31 23:31:17 org.apache.catalina.startup.HostConfig deployDirectory
ÐÅÏ¢: Deploying web application directory examples
2016-7-31 23:31:17 org.apache.catalina.startup.HostConfig deployDirectory
ÐÅÏ¢: Deploying web application directory ROOT
2016-7-31 23:31:17 org.apache.coyote.http11.Http11Protocol start
ÐÅÏ¢: Starting Coyote HTTP/1.1 on http-8080
2016-7-31 23:31:17 org.apache.jk.common.ChannelSocket init
ÐÅÏ¢: JK: ajp13 listening on /0.0.0.0:8009
2016-7-31 23:31:17 org.apache.jk.server.JkMain start
ÐÅÏ¢: Jk running ID=0 time=0/14 config=null
2016-7-31 23:31:17 org.apache.catalina.startup.Catalina start
ÐÅÏ¢: Server startup in 3193 ms
2016-07-31 23:31:25,215 INFO[org.springframework.web.servlet.FrameworkServlet:488]- FrameworkServlet 'spring-dispatcher': initialization started
2016-07-31 23:31:25,216 INFO[org.springframework.context.support.AbstractApplicationContext:573]- Refreshing WebApplicationContext for namespace 'spring-dispatcher-servlet': startup date [Sun Jul 31 23:31:25 CST 2016]; root of context hierarchy
2016-07-31 23:31:25,217 INFO[org.springframework.beans.factory.xml.XmlBeanDefinitionReader:317]- Loading XML bean definitions from class path resource [spring/spring-web.xml]
2016-07-31 23:31:25,245 INFO[org.springframework.beans.factory.xml.XmlBeanDefinitionReader:317]- Loading XML bean definitions from class path resource [spring/spring-config.xml]
2016-07-31 23:31:25,261 INFO[org.springframework.beans.factory.xml.XmlBeanDefinitionReader:317]- Loading XML bean definitions from class path resource [dubbo/dubbo-consumer.xml]
2016-07-31 23:31:25,300 INFO[org.springframework.core.io.support.PropertiesLoaderSupport:172]- Loading properties file from class path resource [jdbc.properties]
2016-07-31 23:31:25,302 INFO[org.springframework.core.io.support.PropertiesLoaderSupport:172]- Loading properties file from class path resource [redis.properties]
2016-07-31 23:31:25,304 INFO[org.springframework.core.io.support.PropertiesLoaderSupport:172]- Loading properties file from class path resource [system.properties]
2016-07-31 23:31:25,306 INFO[org.springframework.core.io.support.PropertiesLoaderSupport:172]- Loading properties file from class path resource [ValidationMessages.properties]
2016-07-31 23:31:25,348 INFO[org.springframework.web.servlet.handler.AbstractHandlerMethodMapping$MappingRegistry:532]- Mapped "{[/user/list],methods=[GET],produces=[application/json;charset=UTF-8]}" onto public com.yingjun.ssm.common.dto.BootStrapTableResult<com.yingjun.ssm.api.user.entity.User> com.yingjun.ssm.web.user.controller.UserController.list(java.lang.Integer,java.lang.Integer)
2016-07-31 23:31:25,437 INFO[org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter:532]- Looking for @ControllerAdvice: WebApplicationContext for namespace 'spring-dispatcher-servlet': startup date [Sun Jul 31 23:31:25 CST 2016]; root of context hierarchy
2016-07-31 23:31:25,497 INFO[org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter:532]- Looking for @ControllerAdvice: WebApplicationContext for namespace 'spring-dispatcher-servlet': startup date [Sun Jul 31 23:31:25 CST 2016]; root of context hierarchy
2016-07-31 23:31:25,541 INFO[org.springframework.web.servlet.handler.AbstractUrlHandlerMapping:341]- Mapped URL path [/] onto handler 'org.springframework.web.servlet.resource.DefaultServletHttpRequestHandler#0'
2016-07-31 23:31:25,551 INFO[com.alibaba.dubbo.registry.support.AbstractRegistry:302]- [DUBBO] Register: consumer://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=consumers&check=false&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547, dubbo version: 2.5.3, current host: 192.168.1.100
2016-07-31 23:31:25,577 INFO[com.alibaba.dubbo.registry.support.AbstractRegistry:325]- [DUBBO] Subscribe: consumer://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=providers,configurators,routers&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547, dubbo version: 2.5.3, current host: 192.168.1.100
2016-07-31 23:31:25,592 INFO[com.alibaba.dubbo.registry.support.AbstractRegistry:422]- [DUBBO] Notify urls for subscribe url consumer://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=providers,configurators,routers&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547, urls: [empty://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=providers&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547, empty://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=configurators&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547, empty://192.168.1.100/com.yingjun.ssm.api.user.service.UserService?application=beautyssm-web-user&category=routers&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547], dubbo version: 2.5.3, current host: 192.168.1.100
2016-07-31 23:31:25,593 WARN[org.springframework.context.support.AbstractApplicationContext:544]- Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yingjun.ssm.api.user.service.UserService com.yingjun.ssm.web.user.controller.UserController.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547 to the consumer 192.168.1.100 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:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:667)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:633)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:681)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:552)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:493)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:612)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:503)
at java.lang.Thread.run(Thread.java:695)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yingjun.ssm.api.user.service.UserService com.yingjun.ssm.web.user.controller.UserController.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547 to the consumer 192.168.1.100 use dubbo version 2.5.3
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 29 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547 to the consumer 192.168.1.100 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:1574)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:253)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543)
... 31 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547 to the consumer 192.168.1.100 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)
... 39 more
2016-07-31 23:31:25,598 ERROR[org.springframework.web.servlet.FrameworkServlet:501]- Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yingjun.ssm.api.user.service.UserService com.yingjun.ssm.web.user.controller.UserController.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547 to the consumer 192.168.1.100 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:1214)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:667)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:633)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:681)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:552)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:493)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:612)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:503)
at java.lang.Thread.run(Thread.java:695)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.yingjun.ssm.api.user.service.UserService com.yingjun.ssm.web.user.controller.UserController.userService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547 to the consumer 192.168.1.100 use dubbo version 2.5.3
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 29 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547 to the consumer 192.168.1.100 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:1574)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:253)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543)
... 31 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.yingjun.ssm.api.user.service.UserService. No provider available for the service com.yingjun.ssm.api.user.service.UserService from the url zookeeper://192.168.1.100:2181/com.alibaba.dubbo.registry.RegistryService?application=beautyssm-web-user&dubbo=2.5.3&interface=com.yingjun.ssm.api.user.service.UserService&methods=addScoreBySyn,addScoreByAsy,queryByPhone,getUserList&owner=yingjun_web_user&pid=1093&revision=1.0.0&side=consumer×tamp=1469979085547 to the consumer 192.168.1.100 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)
... 39 more
2016-07-31 23:36:48,864 WARN[com.alibaba.dubbo.config.ReferenceConfig$1:106]- [DUBBO] ReferenceConfig(null) is not DESTROYED when FINALIZE, dubbo version: 2.5.3, current host: 192.168.1.100
请问下,该如何解决呢??
如果是自己魔改的就当我没问吧。。。
你好,想问下,这个项目还会持续更新吗?还是不再维护?
初始化SQL在哪里?
嗯 按照默认的配置 已导入sql redis已开
user工程
报错如下
type Exception report
message Servlet.init() for servlet spring-dispatcher threw exception
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet.init() for servlet spring-dispatcher threw exception
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
"success":false,"error":"Failed to invoke the method buyGoods in the service com.yingjun.ssm.api.goods.service.GoodsService. Tried 3 times of the providers
请问这个怎么解决
没发现哪里有引入beautyssm_service_user、beautyssm_service_goods
2.8.4的dubbo jar 能提供?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.