NutzCN Logo
问答 请帮我看下,一个问题找不到错在哪里。
发布于 2481天前 作者 qq_93105859 1468 次浏览 复制 上一个帖子 下一个帖子
标签:
2018-01-30 14:09:26,949 [DEBUG-http-nio-8080-exec-10:51697] com.zq.mvc.LogTimeProcessor.process(LogTimeProcessor.java:31) [POST]URI=/ums/wds/y/biz/kylm/ydgl/isSHowSzfbzzBtn  357ms
2018-01-30 14:09:26,951 [WARN-http-nio-8080-exec-10:51699] org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) Error@/wds/y/biz/kylm/ydgl/isSHowSzfbzzBtn :
org.nutz.ioc.IocException: IocBean[wdsBizKylmYdglModule] throw Exception when creating
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
        at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:116)
        at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
        at com.zq.mvc.LogTimeProcessor.process(LogTimeProcessor.java:27)
        at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
        at com.zq.mvc.CheckSessionProcessor.checkWds(CheckSessionProcessor.java:76)
        at com.zq.mvc.CheckSessionProcessor.process(CheckSessionProcessor.java:40)
        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 com.zq.web.filter.UmsV1Filter.doFilter(UmsV1Filter.java:45)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: IocBean[wdsBizKylmYdglModule] fail at field=[wdsBizkylmYdglService]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
        at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
        ... 39 more
Caused by: org.nutz.ioc.IocException: IocBean[wdsBizkylmYdglService] throw Exception when creating
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
        at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
        ... 41 more
Caused by: java.lang.RuntimeException: IocBean[wdsBizkylmYdglService] fail at field=[wdsBizYyzxYdglService]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
        at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
        ... 44 more
Caused by: org.nutz.ioc.IocException: IocBean[wdsBizYyzxYdglService] throw Exception when creating
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
        at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
        ... 46 more
Caused by: java.lang.RuntimeException: IocBean[wdsBizYyzxYdglService] fail at field=[carriageUtilsService]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
        at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
        ... 49 more
Caused by: org.nutz.ioc.IocException: IocBean[carriageUtilsService] throw Exception when creating
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
        at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
        at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
        ... 51 more
Caused by: java.lang.RuntimeException: IocBean[carriageUtilsService] fail at field=[sortingPlatFinService]
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
        at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
        at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
        ... 54 more
Caused by: java.lang.NoClassDefFoundError: org/quartz/spi/JobFactory
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2283)
        at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:811)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1260)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:195)
        at org.nutz.lang.Lang.loadClass(Lang.java:2063)
        at org.nutz.ioc.IocLoading.map2iobj(IocLoading.java:55)
        at org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:86)
        at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:147)
        at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:385)
        at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:66)
        at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
        ... 56 more
Caused by: java.lang.ClassNotFoundException: org.quartz.spi.JobFactory
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1291)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
        ... 72 more
2018-01-30 14:13:39,749 [INFO-Druid-ConnectionPool-Log-2142199726:304497] com.alibaba.druid.pool.DruidDataSourceStatLogg
13 回复
Caused by: java.lang.NoClassDefFoundError: org/quartz/spi/JobFactory

这不是很明显吗?

可是我没有用到quartz,而且在tomcat7上没问题,在8上有问题

可能在某个属性上引用到了吧, 加上quartz依赖呗

我把quartz依赖加上了,现在出现的问题是这样的:

2018-01-30 14:29:26,190 [WARN-http-nio-8090-exec-1:18096] org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) Error@/wds/y/biz/kylm/ydgl/isSHowSzfbzzBtn :
org.nutz.ioc.IocException: IocBean[wdsBizKylmYdglModule] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:116)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at com.zq.mvc.LogTimeProcessor.process(LogTimeProcessor.java:27)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at com.zq.mvc.CheckSessionProcessor.checkWds(CheckSessionProcessor.java:76)
at com.zq.mvc.CheckSessionProcessor.process(CheckSessionProcessor.java:40)
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 com.zq.web.filter.UmsV1Filter.doFilter(UmsV1Filter.java:45)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: IocBean[wdsBizKylmYdglModule] fail at field=[wdsBizkylmYdglService]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
... 39 more
Caused by: org.nutz.ioc.IocException: IocBean[wdsBizkylmYdglService] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
... 41 more
Caused by: java.lang.RuntimeException: IocBean[wdsBizkylmYdglService] fail at field=[wdsBizYyzxYdglService]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
... 44 more
Caused by: org.nutz.ioc.IocException: IocBean[wdsBizYyzxYdglService] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
... 46 more
Caused by: java.lang.RuntimeException: IocBean[wdsBizYyzxYdglService] fail at field=[carriageUtilsService]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
... 49 more
Caused by: org.nutz.ioc.IocException: IocBean[carriageUtilsService] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
... 51 more
Caused by: java.lang.RuntimeException: IocBean[carriageUtilsService] fail at field=[sortingPlatFinService]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
... 54 more
Caused by: org.nutz.ioc.IocException: IocBean[class:com.zq.tms.service.wds.biz.ISortingPlatFinService] none ioc bean match class=com.zq.tms.service.wds.biz.ISortingPlatFinService
at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:399)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:66)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
... 56 more

2018-01-30 14:29:26,190 [WARN-http-nio-8090-exec-1:18096] org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) Error@/wds/y/biz/kylm/ydgl/isSHowSzfbzzBtn :
org.nutz.ioc.IocException: IocBean[wdsBizKylmYdglModule] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:116)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at com.zq.mvc.LogTimeProcessor.process(LogTimeProcessor.java:27)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at com.zq.mvc.CheckSessionProcessor.checkWds(CheckSessionProcessor.java:76)
	at com.zq.mvc.CheckSessionProcessor.process(CheckSessionProcessor.java:40)
	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 com.zq.web.filter.UmsV1Filter.doFilter(UmsV1Filter.java:45)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659)
	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: IocBean[wdsBizKylmYdglModule] fail at field=[wdsBizkylmYdglService]
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
	... 39 more
Caused by: org.nutz.ioc.IocException: IocBean[wdsBizkylmYdglService] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	... 41 more
Caused by: java.lang.RuntimeException: IocBean[wdsBizkylmYdglService] fail at field=[wdsBizYyzxYdglService]
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
	... 44 more
Caused by: org.nutz.ioc.IocException: IocBean[wdsBizYyzxYdglService] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	... 46 more
Caused by: java.lang.RuntimeException: IocBean[wdsBizYyzxYdglService] fail at field=[carriageUtilsService]
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
	... 49 more
Caused by: org.nutz.ioc.IocException: IocBean[carriageUtilsService] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	... 51 more
Caused by: java.lang.RuntimeException: IocBean[carriageUtilsService] fail at field=[sortingPlatFinService]
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
	... 54 more
Caused by: org.nutz.ioc.IocException: IocBean[class:com.zq.tms.service.wds.biz.ISortingPlatFinService] none ioc bean match class=com.zq.tms.service.wds.biz.ISortingPlatFinService
	at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:399)
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:66)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	... 56 more
none ioc bean match class=com.zq.tms.service.wds.biz.ISortingPlatFinService

实现类没实现ISortingPlatFinService或者忘记加@IocBean?

有的,加上了。


import org.nutz.dao.Cnd; import org.nutz.dao.Dao; import org.nutz.ioc.loader.annotation.Inject; import org.nutz.ioc.loader.annotation.IocBean; import com.zq.ems.service.common.IEaRouteModelService; import com.zq.pojo.dao.ums.table.BaseNetPoint; import com.zq.pojo.dao.ums.table.FinCarriageCost; import com.zq.pojo.dao.ums.table.FinChargeItem; import com.zq.pojo.dao.ums.table.LgtOrder; import com.zq.tms.service.model.tables.IFinAllcateCenterService; import com.zq.tms.service.model.tables.IMidAdvanceBalanceService; import com.zq.tms.service.wds.biz.ISortingPlatFinService; @IocBean(name = "sortingPlatFinService") public class SortingPlatFinServiceImpl implements ISortingPlatFinService { @Inject private Dao dao; @Inject private IEaRouteModelService routeModelService; @Inject private IFinAllcateCenterService finAllcateCenterService; @Inject private IMidAdvanceBalanceService midAdvanceBalanceService;

启动的时候扫描到SortingPlatFinServiceImpl 没?

发现了一句这样的:

2018-01-31 11:41:33,850 [INFO-localhost-startStop-1:934] org.nutz.resource.Scans.rs2class(Scans.java:407) Resource can't map to Class, Resource tms/service/impl/wds/biz/sortingPlatFinServiceImpl.class

估计是缺必要的类吧

@wendal 好奇怪,换了个名字就可以了。

额,也许是编译问题

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