org.nutz.ioc.IocException: [freeMarkerConfigurer] # FAIL to create Ioc Bean name=[freeMarkerConfigurer]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:235)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153)
at org.nutz.plugins.view.freemarker.FreemarkerViewMaker.make(FreemarkerViewMaker.java:18)
at org.nutz.mvc.view.ViewZone.makeView(ViewZone.java:86)
at org.nutz.mvc.impl.processor.ViewProcessor.evalView(ViewProcessor.java:88)
at org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:30)
at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:47)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:203)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:107)
at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at com.rekoe.mvc.RkCmsNutFilter.init(RkCmsNutFilter.java:22)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.nutz.castor.FailToCastObjectException: Fail to cast from <java.util.HashMap> to <javax.servlet.ServletContext> for {{app=$servlet}} because:
BorningException:Fail to born 'javax.servlet.ServletContext'
by args: []
at org.nutz.castor.Castors.cast(Castors.java:258)
at org.nutz.castor.Castors.castTo(Castors.java:318)
at org.nutz.lang.Lang.array2ObjectArray(Lang.java:1095)
at org.nutz.lang.born.Borns.evalWithArgs(Borns.java:97)
at org.nutz.lang.born.Borns.eval(Borns.java:58)
at org.nutz.lang.Mirror.getBorning(Mirror.java:952)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:107)
... 28 more
Caused by: org.nutz.lang.born.BorningException: Fail to born 'javax.servlet.ServletContext'
by args: []
at org.nutz.lang.Mirror.born(Mirror.java:988)
at org.nutz.lang.Lang.map2Object(Lang.java:1141)
at org.nutz.castor.castor.Map2Object.cast(Map2Object.java:14)
at org.nutz.castor.castor.Map2Object.cast(Map2Object.java:9)
at org.nutz.castor.Castors.cast(Castors.java:252)
... 34 more
2016-05-03 17:53:16,365 [ERROR][org.nutz.mvc.impl.NutLoading] - try to depose ioc
2016-05-03 17:53:16,365 [INFO][org.nutz.ioc.impl.NutIoc] - org.nutz.ioc.impl.NutIoc@1941289281 is closing. startup date [16-05-03 17:53:16.037]
2016-05-03 17:53:16,365 [INFO][org.nutz.ioc.impl.NutIoc] - org.nutz.ioc.impl.NutIoc@1941289281 is deposed. startup date [16-05-03 17:53:16.037]
五月 03, 2016 5:53:16 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: org.nutz.ioc.IocException: [freeMarkerConfigurer] # FAIL to create Ioc Bean name=[freeMarkerConfigurer]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:990)
at org.nutz.lang.Lang.wrapThrow(Lang.java:169)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:134)
at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at com.rekoe.mvc.RkCmsNutFilter.init(RkCmsNutFilter.java:22)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.nutz.ioc.IocException: [freeMarkerConfigurer] # FAIL to create Ioc Bean name=[freeMarkerConfigurer]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:235)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153)
at org.nutz.plugins.view.freemarker.FreemarkerViewMaker.make(FreemarkerViewMaker.java:18)
at org.nutz.mvc.view.ViewZone.makeView(ViewZone.java:86)
at org.nutz.mvc.impl.processor.ViewProcessor.evalView(ViewProcessor.java:88)
at org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:30)
at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:47)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:203)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:107)
... 17 more
Caused by: org.nutz.castor.FailToCastObjectException: Fail to cast from <java.util.HashMap> to <javax.servlet.ServletContext> for {{app=$servlet}} because:
BorningException:Fail to born 'javax.servlet.ServletContext'
by args: []
at org.nutz.castor.Castors.cast(Castors.java:258)
at org.nutz.castor.Castors.castTo(Castors.java:318)
at org.nutz.lang.Lang.array2ObjectArray(Lang.java:1095)
at org.nutz.lang.born.Borns.evalWithArgs(Borns.java:97)
at org.nutz.lang.born.Borns.eval(Borns.java:58)
at org.nutz.lang.Mirror.getBorning(Mirror.java:952)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:107)
... 28 more
Caused by: org.nutz.lang.born.BorningException: Fail to born 'javax.servlet.ServletContext'
by args: []
at org.nutz.lang.Mirror.born(Mirror.java:988)
at org.nutz.lang.Lang.map2Object(Lang.java:1141)
at org.nutz.castor.castor.Map2Object.cast(Map2Object.java:14)
at org.nutz.castor.castor.Map2Object.cast(Map2Object.java:9)
at org.nutz.castor.Castors.cast(Castors.java:252)
... 34 more
添加回复
请先登陆