项目到手了,启动的时候出现了问题。

请教各位大佬,能帮我看看嘛?

 

严重: 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 'securityMetadataSource' defined in file [F:\DM\eclipse-MRS-xiajie-shop\shop-manager-web\target\classes\spring\spring-security.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sysUserService' threw exception; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findFunctionUrlWithRole in the service com.skite.shop.service.goods.SysUserService. Tried 3 times of the providers [192.168.17.1:20886] (1/1) from the registry 192.168.17.1:2181 on the consumer 192.168.17.1 using the dubbo version 2.5.3. Last error is: Invoke remote method timeout. method: findFunctionUrlWithRole, provider: dubbo://192.168.17.1:20886/com.skite.shop.service.goods.SysUserService?anyhost=true&application=shop-manager-web-8303&check=false&dubbo=2.5.3&interface=com.skite.shop.service.goods.SysUserService&methods=add,findSysUserRole,findFunctionUrlWithRole,updateStatus,findByTelephone,findOne,update,findPage,delete,findAll&pid=724&revision=0.0.1-SNAPSHOT&side=consumer&timeout=300000&timestamp=1606374683308, cause: Waiting server-side response timeout. start time: 2020-11-26 15:21:28.792, end time: 2020-11-26 15:26:28.793, client elapsed: 0 ms, server elapsed: 300001 ms, timeout: 300000 ms, request: Request [id=5, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=findFunctionUrlWithRole, parameterTypes=[interface java.util.Map], arguments=[null], attachments={path=com.skite.shop.service.goods.SysUserService, interface=com.skite.shop.service.goods.SysUserService, version=0.0.0, timeout=300000}]], channel: /192.168.17.1:55450 -> /192.168.17.1:20886
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1518)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)
    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:306)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
    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.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'sysUserService' threw exception; nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findFunctionUrlWithRole in the service com.skite.shop.service.goods.SysUserService. Tried 3 times of the providers [192.168.17.1:20886] (1/1) from the registry 192.168.17.1:2181 on the consumer 192.168.17.1 using the dubbo version 2.5.3. Last error is: Invoke remote method timeout. method: findFunctionUrlWithRole, provider: dubbo://192.168.17.1:20886/com.skite.shop.service.goods.SysUserService?anyhost=true&application=shop-manager-web-8303&check=false&dubbo=2.5.3&interface=com.skite.shop.service.goods.SysUserService&methods=add,findSysUserRole,findFunctionUrlWithRole,updateStatus,findByTelephone,findOne,update,findPage,delete,findAll&pid=724&revision=0.0.1-SNAPSHOT&side=consumer&timeout=300000&timestamp=1606374683308, cause: Waiting server-side response timeout. start time: 2020-11-26 15:21:28.792, end time: 2020-11-26 15:26:28.793, client elapsed: 0 ms, server elapsed: 300001 ms, timeout: 300000 ms, request: Request [id=5, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=findFunctionUrlWithRole, parameterTypes=[interface java.util.Map], arguments=[null], attachments={path=com.skite.shop.service.goods.SysUserService, interface=com.skite.shop.service.goods.SysUserService, version=0.0.0, timeout=300000}]], channel: /192.168.17.1:55450 -> /192.168.17.1:20886
    at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:121)
    at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1514)
    ... 22 more

查看全部
lixiaoyu123456
木不离子
2020/11/26 16:19
  • maven
  • intellij-idea
  • 点赞
  • 收藏
  • 回答
    私信

1个回复