NutzCN Logo
问答 nutzwk启动web-vue时Mvcs.getServletContext()报空指针,同样的代码,web-platform没有报错
发布于 253天前 作者 qq_3e1f274f 234 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk
[DEBUG] 14:19:21.265 [main] org.nutz.ioc.impl.NutIoc - Get 'groupTemplate'<class org.beetl.core.GroupTemplate>
[DEBUG] 14:19:21.265 [main] org.nutz.ioc.impl.ScopeContext - Remove object 'webPlatformMainLauncher' from [app] 
[ERROR] 14:19:21.265 [main] org.nutz.boot.NbApp - something happen!!
org.nutz.ioc.IocException: IocBean[webPlatformMainLauncher] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:153)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:161)
	at org.nutz.boot.NbApp.execute(NbApp.java:214)
	at org.nutz.boot.NbApp.run(NbApp.java:182)
	at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher.main(WebPlatformMainLauncher.java:48)
Caused by: java.lang.NullPointerException: null
	at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher.init(WebPlatformMainLauncher.java:60)
	at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher$FM$init$cff301be46c87e2fbea60f4ef344bacb.invoke(WebPlatformMainLauncher.java)
	at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:181)
	at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
	... 6 common frames omitted
[INFO ] 14:19:21.278 [main] org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@76954a33{HTTP/1.1,[http/1.1]}{0.0.0.0:8050}
[INFO ] 14:19:21.278 [main] org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@76954a33{HTTP/1.1,[http/1.1]}{0.0.0.0:8050}
[INFO ] 14:19:21.279 [main] org.eclipse.jetty.server.session - node0 Stopped scavenging
[INFO ] 14:19:21.279 [main] org.eclipse.jetty.server.session - node0 Stopped scavenging
2 回复
[DEBUG] 15:01:36.281 [lcache.pubsub] org.nutz.ioc.impl.ScopeContext - Save object 'jedisPool' to [app] 
[ERROR] 15:01:36.283 [main] org.apache.shiro.web.env.EnvironmentLoader - Shiro environment initialization failed
org.nutz.ioc.IocException: IocBean[shiroWebSecurityManager] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:153)
	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:119)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at org.nutz.boot.starter.servlet3.NbServletContextListener.contextInitialized(NbServletContextListener.java:114)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:929)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:554)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:888)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:357)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1443)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1407)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:821)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:276)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
	at org.eclipse.jetty.server.Server.start(Server.java:407)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:106)
	at org.eclipse.jetty.server.Server.doStart(Server.java:371)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
	at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:160)
	at org.nutz.boot.AppContext.startServers(AppContext.java:310)
	at org.nutz.boot.NbApp.execute(NbApp.java:210)
	at org.nutz.boot.NbApp.run(NbApp.java:182)
	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.acc.modules.services.AccountUserService. No provider available for the service cn.wizzer.app.acc.modules.services.AccountUserService from the url zookeeper://10.204.20.119:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-vue&default.retries=0&default.timeout=300000&dubbo=2.0.2&interface=cn.wizzer.app.acc.modules.services.AccountUserService&methods=insertRelation,insertOrUpdate,getAccountUserByIdOrType,getMaxId,getSubPath,getField,vDelete,execute,fetchx,fetchLinks,updateRelation,clearAccount,insertLinks,getParentPath,getAccount,listPageLinks,getEntity,updateWith,fetch,exists,listPageMap,isExistLoginname,listPage,updateWithVersion,data,insertWith,dao,query,count,listEntity,list,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fastInsert,update,insert,delete,updateIgnoreNull,getAccountByLoginname,clear,getNutMap&pid=11196&qos.enable=false&register.ip=10.204.26.47&side=consumer&timestamp=1579244496205 to the consumer 10.204.26.47 use dubbo version 2.6.6
	at org.nutz.lang.Invoking.invoke(Invoking.java:195)
	at org.nutz.lang.Mirror.invoke(Mirror.java:1135)
	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 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.wizzer.app.acc.modules.services.AccountUserService. No provider available for the service cn.wizzer.app.acc.modules.services.AccountUserService from the url zookeeper://10.204.20.119:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-vue&default.retries=0&default.timeout=300000&dubbo=2.0.2&interface=cn.wizzer.app.acc.modules.services.AccountUserService&methods=insertRelation,insertOrUpdate,getAccountUserByIdOrType,getMaxId,getSubPath,getField,vDelete,execute,fetchx,fetchLinks,updateRelation,clearAccount,insertLinks,getParentPath,getAccount,listPageLinks,getEntity,updateWith,fetch,exists,listPageMap,isExistLoginname,listPage,updateWithVersion,data,insertWith,dao,query,count,listEntity,list,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fastInsert,update,insert,delete,updateIgnoreNull,getAccountByLoginname,clear,getNutMap&pid=11196&qos.enable=false&register.ip=10.204.26.47&side=consumer&timestamp=1579244496205 to the consumer 10.204.26.47 use dubbo version 2.6.6
	at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:426)
	at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:335)
	at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:164)
	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:1135)
	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.starter.shiro.ShiroEnvStarter.getWebSecurityManager(ShiroEnvStarter.java:148)
	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 common frames omitted
[WARN ] 15:01:36.284 [main] org.eclipse.jetty.webapp.WebAppContext - Failed startup of context o.e.j.w.WebAppContext@31ab1e67{/,[file:///D:/dev/szwork/caikong/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:153)
	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:119)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at org.nutz.boot.starter.servlet3.NbServletContextListener.contextInitialized(NbServletContextListener.java:114)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:929)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:554)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:888)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:357)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1443)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1407)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:821)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:276)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
	at org.eclipse.jetty.server.Server.start(Server.java:407)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:106)
	at org.eclipse.jetty.server.Server.doStart(Server.java:371)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
	at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:160)
	at org.nutz.boot.AppContext.startServers(AppContext.java:310)
	at org.nutz.boot.NbApp.execute(NbApp.java:210)
	at org.nutz.boot.NbApp.run(NbApp.java:182)
	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.acc.modules.services.AccountUserService. No provider available for the service cn.wizzer.app.acc.modules.services.AccountUserService from the url zookeeper://10.204.20.119:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-vue&default.retries=0&default.timeout=300000&dubbo=2.0.2&interface=cn.wizzer.app.acc.modules.services.AccountUserService&methods=insertRelation,insertOrUpdate,getAccountUserByIdOrType,getMaxId,getSubPath,getField,vDelete,execute,fetchx,fetchLinks,updateRelation,clearAccount,insertLinks,getParentPath,getAccount,listPageLinks,getEntity,updateWith,fetch,exists,listPageMap,isExistLoginname,listPage,updateWithVersion,data,insertWith,dao,query,count,listEntity,list,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fastInsert,update,insert,delete,updateIgnoreNull,getAccountByLoginname,clear,getNutMap&pid=11196&qos.enable=false&register.ip=10.204.26.47&side=consumer&timestamp=1579244496205 to the consumer 10.204.26.47 use dubbo version 2.6.6
	at org.nutz.lang.Invoking.invoke(Invoking.java:195)
	at org.nutz.lang.Mirror.invoke(Mirror.java:1135)
	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 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.wizzer.app.acc.modules.services.AccountUserService. No provider available for the service cn.wizzer.app.acc.modules.services.AccountUserService from the url zookeeper://10.204.20.119:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-vue&default.retries=0&default.timeout=300000&dubbo=2.0.2&interface=cn.wizzer.app.acc.modules.services.AccountUserService&methods=insertRelation,insertOrUpdate,getAccountUserByIdOrType,getMaxId,getSubPath,getField,vDelete,execute,fetchx,fetchLinks,updateRelation,clearAccount,insertLinks,getParentPath,getAccount,listPageLinks,getEntity,updateWith,fetch,exists,listPageMap,isExistLoginname,listPage,updateWithVersion,data,insertWith,dao,query,count,listEntity,list,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fastInsert,update,insert,delete,updateIgnoreNull,getAccountByLoginname,clear,getNutMap&pid=11196&qos.enable=false&register.ip=10.204.26.47&side=consumer&timestamp=1579244496205 to the consumer 10.204.26.47 use dubbo version 2.6.6
	at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:426)
	at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:335)
	at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:164)
	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:1135)
	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.starter.shiro.ShiroEnvStarter.getWebSecurityManager(ShiroEnvStarter.java:148)
	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 common frames omitted
[WARN ] 15:01:36.284 [main] org.eclipse.jetty.webapp.WebAppContext - Failed startup of context o.e.j.w.WebAppContext@31ab1e67{/,[file:///D:/dev/szwork/caikong/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:153)
	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:119)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at org.nutz.boot.starter.servlet3.NbServletContextListener.contextInitialized(NbServletContextListener.java:114)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:929)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:554)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:888)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:357)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1443)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1407)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:821)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:276)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
	at org.eclipse.jetty.server.Server.start(Server.java:407)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:106)
	at org.eclipse.jetty.server.Server.doStart(Server.java:371)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
	at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:160)
	at org.nutz.boot.AppContext.startServers(AppContext.java:310)
	at org.nutz.boot.NbApp.execute(NbApp.java:210)
	at org.nutz.boot.NbApp.run(NbApp.java:182)
	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.acc.modules.services.AccountUserService. No provider available for the service cn.wizzer.app.acc.modules.services.AccountUserService from the url zookeeper://10.204.20.119:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-vue&default.retries=0&default.timeout=300000&dubbo=2.0.2&interface=cn.wizzer.app.acc.modules.services.AccountUserService&methods=insertRelation,insertOrUpdate,getAccountUserByIdOrType,getMaxId,getSubPath,getField,vDelete,execute,fetchx,fetchLinks,updateRelation,clearAccount,insertLinks,getParentPath,getAccount,listPageLinks,getEntity,updateWith,fetch,exists,listPageMap,isExistLoginname,listPage,updateWithVersion,data,insertWith,dao,query,count,listEntity,list,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fastInsert,update,insert,delete,updateIgnoreNull,getAccountByLoginname,clear,getNutMap&pid=11196&qos.enable=false&register.ip=10.204.26.47&side=consumer&timestamp=1579244496205 to the consumer 10.204.26.47 use dubbo version 2.6.6
	at org.nutz.lang.Invoking.invoke(Invoking.java:195)
	at org.nutz.lang.Mirror.invoke(Mirror.java:1135)
	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 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.wizzer.app.acc.modules.services.AccountUserService. No provider available for the service cn.wizzer.app.acc.modules.services.AccountUserService from the url zookeeper://10.204.20.119:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-vue&default.retries=0&default.timeout=300000&dubbo=2.0.2&interface=cn.wizzer.app.acc.modules.services.AccountUserService&methods=insertRelation,insertOrUpdate,getAccountUserByIdOrType,getMaxId,getSubPath,getField,vDelete,execute,fetchx,fetchLinks,updateRelation,clearAccount,insertLinks,getParentPath,getAccount,listPageLinks,getEntity,updateWith,fetch,exists,listPageMap,isExistLoginname,listPage,updateWithVersion,data,insertWith,dao,query,count,listEntity,list,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fastInsert,update,insert,delete,updateIgnoreNull,getAccountByLoginname,clear,getNutMap&pid=11196&qos.enable=false&register.ip=10.204.26.47&side=consumer&timestamp=1579244496205 to the consumer 10.204.26.47 use dubbo version 2.6.6
	at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:426)
	at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:335)
	at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:164)
	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:1135)
	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.starter.shiro.ShiroEnvStarter.getWebSecurityManager(ShiroEnvStarter.java:148)
	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 common frames omitted

仔细看nutzwk的手册

添加回复
请先登陆
回到顶部