NutzCN Logo
问答 more than one bean for type
发布于 2960天前 作者 qq_6c186ef5 1580 次浏览 复制 上一个帖子 下一个帖子
标签:
2016-10-15 16:23:44,519 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@185ed94 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1112ca9)
2016-10-15 16:23:44,595 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:92) DEBUG - Found mapping for [POST] path=/acc/list : AccreditationAuditAction.getList(AccreditationAuditAction.java:108)
2016-10-15 16:23:44,595 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'accreditationAuditAction'<class com.risun.tsaic.module.AccreditationAudit.AccreditationAuditAction>
2016-10-15 16:23:44,595 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - 	 >> Load definition name=accreditationAuditAction
2016-10-15 16:23:44,595 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(accreditationAuditAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,595 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - 	 >> Make...'accreditationAuditAction'<class com.risun.tsaic.module.AccreditationAudit.AccreditationAuditAction>
2016-10-15 16:23:44,596 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class com.risun.tsaic.module.AccreditationAudit.AccreditationAuditAction without AOP
2016-10-15 16:23:44,596 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'accreditationAuditAction' to [app] 
2016-10-15 16:23:44,598 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'accreditationAuditDao'<interface com.risun.tsaic.dao.IAccreditationAuditDao>
2016-10-15 16:23:44,599 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'userDao'<interface com.risun.tsaic.dao.IUsersDao>
2016-10-15 16:23:44,599 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'auditDao'<interface com.risun.tsaic.dao.IAuditDao>
2016-10-15 16:23:44,599 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'decideAuditDao'<interface com.risun.tsaic.dao.IDecideAuditDao>
2016-10-15 16:23:44,599 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2016-10-15 16:23:44,599 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(dataSource) in IocLoader(JsonLoader@32873153)
2016-10-15 16:23:44,600 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2016-10-15 16:23:44,600 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(dao) in IocLoader(JsonLoader@32873153)
2016-10-15 16:23:44,600 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=conf
2016-10-15 16:23:44,600 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(conf) in IocLoader(JsonLoader@32873153)
2016-10-15 16:23:44,600 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(auditAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,601 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(department) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,601 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(accreditationAuditAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,601 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(rLicAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,601 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(lawsRegulationsAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,601 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(localRecordDao) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,601 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(Law) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,602 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(userDao) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,602 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(departmentAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,602 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(AicThreadDao) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,602 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(adpenAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,602 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(canInfoAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,602 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(usersAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,603 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(lawtypeImpl) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,603 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(EnterpriseCreditMessagesquery) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,603 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(aicThreadAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,603 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(decideAuditAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,603 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(businessBasicInfoAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,603 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(auditFlowAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,604 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(accreditationAuditDao) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,604 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(punishDao) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,604 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(dutyDao) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,604 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(basicInfoDao) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,604 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(AuditFlowImpl) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,604 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(auditDao) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,605 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(rlicDao) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,605 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(queryCanInfo) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,605 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(eCMAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,605 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(localPunishAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,605 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(localRecordAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,606 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(decideAuditDao) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,606 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(dutyAction) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,606 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(adpenDao) in IocLoader(AnnotationIocLoader@15349569)
2016-10-15 16:23:44,606 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=txREPEATABLE_READ
2016-10-15 16:23:44,606 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(txREPEATABLE_READ) in IocLoader(TransIocLoader@25849206)
2016-10-15 16:23:44,606 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=txREAD_COMMITTED
2016-10-15 16:23:44,607 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(txREAD_COMMITTED) in IocLoader(TransIocLoader@25849206)
2016-10-15 16:23:44,607 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=txNONE
2016-10-15 16:23:44,607 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(txNONE) in IocLoader(TransIocLoader@25849206)
2016-10-15 16:23:44,607 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=txSERIALIZABLE
2016-10-15 16:23:44,607 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(txSERIALIZABLE) in IocLoader(TransIocLoader@25849206)
2016-10-15 16:23:44,607 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=txREAD_UNCOMMITTED
2016-10-15 16:23:44,608 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(txREAD_UNCOMMITTED) in IocLoader(TransIocLoader@25849206)
2016-10-15 16:23:44,608 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:79) DEBUG - Remove object 'accreditationAuditAction' from [app] 
2016-10-15 16:23:44,612 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) WARN  - Error@/acc/list :
org.nutz.ioc.IocException: more than one bean for type=[interface com.risun.tsaic.dao.IAuditFlowDao], names=[Ljava.lang.String;@3e1661 FAIL to create Ioc Bean name=[accreditationAuditAction]
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:147)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:204)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:229)
	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:196)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at de.javakaffee.web.msm.SessionTrackerValve.invoke(SessionTrackerValve.java:90)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:879)
	at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:617)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1774)
	at java.lang.Thread.run(Thread.java:619)
Caused by: org.nutz.ioc.IocException: more than one bean for type=[interface com.risun.tsaic.dao.IAuditFlowDao], names=[Ljava.lang.String;@3e1661
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:39)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:31)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
	... 24 more

1 回复

请升级到1.r.58

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