照葫芦画瓢写了个页面,访问报错,日志如下:
org.nutz.ioc.IocException: IocBean[sysAssertTypeController] 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.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:116)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.GlobalsSettingProcessor.process(GlobalsSettingProcessor.java:49)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:21)
at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at cn.wizzer.app.web.commons.filter.RouteFilter.doFilter(RouteFilter.java:31)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.nutz.mvc.WhaleFilter.doFilter(WhaleFilter.java:171)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602)
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:214)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1701)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:502)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: IocBean[sysAssertTypeController] fail at field=[assetTypeService]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
... 64 common frames omitted
Caused by: org.nutz.ioc.IocException: IocBean[qgp1eihcesho6r8of419ek4qfd] 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.getByType(NutIoc.java:457)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:66)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
... 66 common frames omitted
Caused by: org.nutz.lang.InvokingException: Fail to invoke [org.nutz.integration.dubbo.ReferenceBean].get() by args:
For the reason: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysAssertTypeService. No provider available for the service cn.wizzer.app.sys.modules.services.SysAssertTypeService from the url registry://10.1.3.178:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-platform&cluster=available&dubbo=2.0.2&pid=18596&qos.enable=false&refer=application%3Dwk-nb-web-platform%26default.retries%3D0%26default.timeout%3D300000%26dubbo%3D2.0.2%26interface%3Dcn.wizzer.app.sys.modules.services.SysAssertTypeService%26methods%3DupdateWithVersion%2Cdata%2CinsertRelation%2CinsertWith%2CinsertOrUpdate%2Cdao%2CgetMaxId%2CgetSubPath%2Cquery%2Ccount%2CgetField%2ClistEntity%2CvDelete%2Clist%2Cexecute%2Cfetchx%2CgetMap%2CupdateAndIncrIfMatch%2CupdateLinks%2CgetEntityClass%2CfetchLinks%2CupdateRelation%2CfastInsert%2Cupdate%2Cinsert%2CinsertLinks%2CgetParentPath%2Cdelete%2CupdateIgnoreNull%2ClistPageLinks%2Cclear%2CgetEntity%2CupdateWith%2Cfetch%2CgetNutMap%2Cexists%2ClistPageMap%2ClistPage%26pid%3D18596%26qos.enable%3Dfalse%26register.ip%3D192.168.116.1%26side%3Dconsumer%26timestamp%3D1555472962972®istry=zookeeper×tamp=1555472962973 to the consumer 192.168.116.1 use dubbo version 2.6.6
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)
... 70 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysAssertTypeService. No provider available for the service cn.wizzer.app.sys.modules.services.SysAssertTypeService from the url registry://10.1.3.178:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-platform&cluster=available&dubbo=2.0.2&pid=18596&qos.enable=false&refer=application%3Dwk-nb-web-platform%26default.retries%3D0%26default.timeout%3D300000%26dubbo%3D2.0.2%26interface%3Dcn.wizzer.app.sys.modules.services.SysAssertTypeService%26methods%3DupdateWithVersion%2Cdata%2CinsertRelation%2CinsertWith%2CinsertOrUpdate%2Cdao%2CgetMaxId%2CgetSubPath%2Cquery%2Ccount%2CgetField%2ClistEntity%2CvDelete%2Clist%2Cexecute%2Cfetchx%2CgetMap%2CupdateAndIncrIfMatch%2CupdateLinks%2CgetEntityClass%2CfetchLinks%2CupdateRelation%2CfastInsert%2Cupdate%2Cinsert%2CinsertLinks%2CgetParentPath%2Cdelete%2CupdateIgnoreNull%2ClistPageLinks%2Cclear%2CgetEntity%2CupdateWith%2Cfetch%2CgetNutMap%2Cexists%2ClistPageMap%2ClistPage%26pid%3D18596%26qos.enable%3Dfalse%26register.ip%3D192.168.116.1%26side%3Dconsumer%26timestamp%3D1555472962972®istry=zookeeper×tamp=1555472962973 to the consumer 192.168.116.1 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)
... 74 common frames omitted
求大佬帮忙看看什么原因