[DEBUG] 16:30:27.701 [qtp295640874-22] org.nutz.ioc.impl.ScopeContext - Remove object '0rj35sqeoqiu4oct9atc7ufuqj' from [app]
[DEBUG] 16:30:27.703 [qtp295640874-22] org.nutz.ioc.impl.ScopeContext - Remove object 'czWxApiController' from [app]
[WARN ] 16:30:27.704 [qtp295640874-22] org.nutz.mvc.impl.processor.FailProcessor - Error@/wx/WxLogin :
org.nutz.ioc.IocException: IocBean[czWxApiController] 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.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.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.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.RuntimeException: IocBean[czWxApiController] fail at field=[errorLogHistoryService]
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)
... 40 common frames omitted
Caused by: org.nutz.ioc.IocException: IocBean[0rj35sqeoqiu4oct9atc7ufuqj] 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)
... 42 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.lvche.lvrd.cz.services.ErrorLogHistoryService. No provider available for the service cn.wizzer.lvche.lvrd.cz.services.ErrorLogHistoryService from the url zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=lvrd_api_cz&dubbo=2.0.2&interface=cn.wizzer.lvche.lvrd.cz.services.ErrorLogHistoryService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,listEntity,list,sync,execute,fetchx,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,async,updateWith,fetch,exists,listPageMap,listPage&pid=15368®ister.ip=2.0.1.73&side=consumer×tamp=1598517023733 to the consumer 2.0.1.73 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)
... 46 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.wizzer.lvche.lvrd.cz.services.ErrorLogHistoryService. No provider available for the service cn.wizzer.lvche.lvrd.cz.services.ErrorLogHistoryService from the url zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=lvrd_api_cz&dubbo=2.0.2&interface=cn.wizzer.lvche.lvrd.cz.services.ErrorLogHistoryService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,listEntity,list,sync,execute,fetchx,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,async,updateWith,fetch,exists,listPageMap,listPage&pid=15368®ister.ip=2.0.1.73&side=consumer×tamp=1598517023733 to the consumer 2.0.1.73 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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.nutz.lang.Invoking$NullArgInvoker.invoke(Invoking.java:77)
at org.nutz.lang.Invoking.invoke(Invoking.java:192)
... 50 common frames omitted
下面是代码
@IocBean
@At("/wx")
@Ok("json:{locked:'password|createAt'}") // 忽略password和createAt属性
public class CzWxApiController extends CzApiBaseController{
private static final Log log = Logs.get();
@Inject
@Reference
private ErrorLogHistoryService errorLogHistoryService;
@Inject
@Reference
private CzBusinessClientService czBusinessClientService;
@Inject
@Reference
private CzBusinessContractService czBusinessContractService;
@Inject
@Reference
private SysDictService dictService;
@Inject
@Reference
private CzBusinessProjectService czBusinessProjectService;
@Inject
@Reference
private CzProjectProgressService czProjectProgressService;
@Inject
@Reference
private LvRDFlowableService lvRDFlowableService;
@Inject
@Reference
protected SysUserService sysUserService;
@Inject
@Reference
private CzAdministrativeApplyService czAdministrativeApplyService;
@Inject
@Reference
private CzBusinessClientContactsService czBusinessClientContactsService;//客户联系人服务类
@Inject
private SLogService sLogService;
@Inject
private WxConfig wxConfig;
{
setSysUserService(sysUserService);
}