报错信息:(注:sys服务已经启动)启动VUE服务的时候异常
[ERROR] 15:38:20.024 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:146) - Shiro environment initialization failed
org.nutz.ioc.IocException: IocBean[shiroWebSecurityManager] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.createWebSecurityManager(NbResourceBasedWebEnvironment.java:91)
at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.configure(NbResourceBasedWebEnvironment.java:45)
at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.init(NbResourceBasedWebEnvironment.java:39)
at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
at org.nutz.boot.starter.shiro.NbShiroEnvironmentLoaderListener.contextInitialized(NbShiroEnvironmentLoaderListener.java:40)
at org.nutz.boot.starter.servlet3.NbServletContextListener.lambda$contextInitialized$1(NbServletContextListener.java:109)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at org.nutz.boot.starter.servlet3.NbServletContextListener.contextInitialized(NbServletContextListener.java:104)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:952)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:558)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:917)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:370)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:847)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:287)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.server.Server.start(Server.java:416)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:383)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:138)
at org.nutz.boot.AppContext.startServers(AppContext.java:306)
at org.nutz.boot.NbApp.execute(NbApp.java:205)
at org.nutz.boot.NbApp.run(NbApp.java:178)
at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher.main(WebPlatformMainLauncher.java:48)
Caused by: org.nutz.lang.InvokingException: Fail to invoke [org.nutz.boot.starter.shiro.ShiroEnvStarter].getWebSecurityManager() by args:
For the reason: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysUserService. No provider available for the service cn.wizzer.app.sys.modules.services.SysUserService from the url multicast://224.5.6.7:1234/com.alibaba.dubbo.registry.RegistryService?application=demo&dubbo=2.6.2&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,hasChildren,insertWith,fillMenu,insertOrUpdate,dao,getRoleMenus,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=59536®ister.ip=192.168.168.123&side=consumer×tamp=1542094698840 to the consumer 192.168.168.123 use dubbo version 2.6.2
at org.nutz.lang.Invoking.invoke(Invoking.java:195)
at org.nutz.lang.Mirror.invoke(Mirror.java:1132)
at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:80)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
... 35 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysUserService. No provider available for the service cn.wizzer.app.sys.modules.services.SysUserService from the url multicast://224.5.6.7:1234/com.alibaba.dubbo.registry.RegistryService?application=demo&dubbo=2.6.2&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,hasChildren,insertWith,fillMenu,insertOrUpdate,dao,getRoleMenus,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=59536®ister.ip=192.168.168.123&side=consumer×tamp=1542094698840 to the consumer 192.168.168.123 use dubbo version 2.6.2
at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:422)
at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:333)
at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:163)
at org.nutz.integration.dubbo.ReferenceBean.get(ReferenceBean.java:152)
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.nutz.lang.Invoking$NullArgInvoker.invoke(Invoking.java:77)
at org.nutz.lang.Invoking.invoke(Invoking.java:192)
at org.nutz.lang.Mirror.invoke(Mirror.java:1132)
at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:80)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:457)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:66)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.boot.AppContext.getBeans(AppContext.java:330)
at org.nutz.boot.starter.shiro.ShiroEnvStarter.getWebSessionManager(ShiroEnvStarter.java:182)
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.nutz.lang.Invoking$NullArgInvoker.invoke(Invoking.java:77)
at org.nutz.lang.Invoking.invoke(Invoking.java:192)
at org.nutz.lang.Mirror.invoke(Mirror.java:1132)
at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:80)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.boot.starter.shiro.ShiroEnvStarter.getWebSecurityManager(ShiroEnvStarter.java:136)
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.nutz.lang.Invoking$NullArgInvoker.invoke(Invoking.java:77)
at org.nutz.lang.Invoking.invoke(Invoking.java:192)
... 39 more
[WARN ] 15:38:20.035 org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:554) - Failed startup of context o.e.j.w.WebAppContext@55e8ec2f{/,[file:///E:/work_new/NutzWk/wk-app/wk-nb-web-vue/target/classes/static/],UNAVAILABLE}
org.nutz.ioc.IocException: IocBean[shiroWebSecurityManager] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.createWebSecurityManager(NbResourceBasedWebEnvironment.java:91)
at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.configure(NbResourceBasedWebEnvironment.java:45)
at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.init(NbResourceBasedWebEnvironment.java:39)
at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
at org.nutz.boot.starter.shiro.NbShiroEnvironmentLoaderListener.contextInitialized(NbShiroEnvironmentLoaderListener.java:40)
at org.nutz.boot.starter.servlet3.NbServletContextListener.lambda$contextInitialized$1(NbServletContextListener.java:109)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at org.nutz.boot.starter.servlet3.NbServletContextListener.contextInitialized(NbServletContextListener.java:104)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:952)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:558)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:917)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:370)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:847)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:287)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.server.Server.start(Server.java:416)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:383)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:138)
at org.nutz.boot.AppContext.startServers(AppContext.java:306)
at org.nutz.boot.NbApp.execute(NbApp.java:205)
at org.nutz.boot.NbApp.run(NbApp.java:178)
at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher.main(WebPlatformMainLauncher.java:48)
Caused by: org.nutz.lang.InvokingException: Fail to invoke [org.nutz.boot.starter.shiro.ShiroEnvStarter].getWebSecurityManager() by args:
For the reason: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysUserService. No provider available for the service cn.wizzer.app.sys.modules.services.SysUserService from the url multicast://224.5.6.7:1234/com.alibaba.dubbo.registry.RegistryService?application=demo&dubbo=2.6.2&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,hasChildren,insertWith,fillMenu,insertOrUpdate,dao,getRoleMenus,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=59536®ister.ip=192.168.168.123&side=consumer×tamp=1542094698840 to the consumer 192.168.168.123 use dubbo version 2.6.2
at org.nutz.lang.Invoking.invoke(Invoking.java:195)
at org.nutz.lang.Mirror.invoke(Mirror.java:1132)
at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:80)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
... 35 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysUserService. No provider available for the service cn.wizzer.app.sys.modules.services.SysUserService from the url multicast://224.5.6.7:1234/com.alibaba.dubbo.registry.RegistryService?application=demo&dubbo=2.6.2&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,hasChildren,insertWith,fillMenu,insertOrUpdate,dao,getRoleMenus,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=59536®ister.ip=192.168.168.123&side=consumer×tamp=1542094698840 to the consumer 192.168.168.123 use dubbo version 2.6.2
at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:422)
at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:333)
at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:163)
at org.nutz.integration.dubbo.ReferenceBean.get(ReferenceBean.java:152)
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.nutz.lang.Invoking$NullArgInvoker.invoke(Invoking.java:77)
at org.nutz.lang.Invoking.invoke(Invoking.java:192)
at org.nutz.lang.Mirror.invoke(Mirror.java:1132)
at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:80)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:457)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:66)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.boot.AppContext.getBeans(AppContext.java:330)
at org.nutz.boot.starter.shiro.ShiroEnvStarter.getWebSessionManager(ShiroEnvStarter.java:182)
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.nutz.lang.Invoking$NullArgInvoker.invoke(Invoking.java:77)
at org.nutz.lang.Invoking.invoke(Invoking.java:192)
at org.nutz.lang.Mirror.invoke(Mirror.java:1132)
at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:80)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.boot.starter.shiro.ShiroEnvStarter.getWebSecurityManager(ShiroEnvStarter.java:136)
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.nutz.lang.Invoking$NullArgInvoker.invoke(Invoking.java:77)
at org.nutz.lang.Invoking.invoke(Invoking.java:192)
... 39 more