错误日志如下:
严重: 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:423)
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:196)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4677)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:698)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:968)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1742)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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:748)
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:210)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146)
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:89)
at org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:31)
at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
at org.nutz.plugins.apidoc.ApidocUrlMapping.add(ApidocUrlMapping.java:72)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:204)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
... 19 more
Caused by: org.nutz.lang.born.BorningException: Fail to born 'org.nutz.plugins.view.freemarker.FreeMarkerConfigurer'
by args: [
@(freemarker.template.Configuration@6e2702fd)
@(org.apache.catalina.core.ApplicationContextFacade@58e6f80b)
@(WEB-INF)
@(.ftl)
@(org.nutz.plugins.view.freemarker.FreemarkerDirectiveFactory@6bcdf6ab)] because:
java.lang.IllegalArgumentException
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:114)
... 31 more
Caused by: java.lang.IllegalArgumentException
at org.apache.catalina.webresources.AbstractResourceSet.checkPath(AbstractResourceSet.java:39)
at org.apache.catalina.webresources.DirResourceSet.getResource(DirResourceSet.java:91)
at org.apache.catalina.webresources.StandardRoot.getResourceInternal(StandardRoot.java:176)
at org.apache.catalina.webresources.CachedResource.validate(CachedResource.java:62)
at org.apache.catalina.webresources.Cache.getResource(Cache.java:78)
at org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot.java:163)
at org.apache.catalina.core.StandardContext.getRealPath(StandardContext.java:4528)
at org.apache.catalina.core.ApplicationContext.getRealPath(ApplicationContext.java:398)
at org.apache.catalina.core.ApplicationContextFacade.getRealPath(ApplicationContextFacade.java:335)
at org.nutz.plugins.view.freemarker.FreeMarkerConfigurer.initp(FreeMarkerConfigurer.java:50)
at org.nutz.plugins.view.freemarker.FreeMarkerConfigurer.(FreeMarkerConfigurer.java:45)
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:423)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
... 33 more
六月 15, 2017 1:45:03 下午 org.apache.catalina.core.ApplicationContext log
信息: Cleaning up Shiro Environment
六月 15, 2017 1:45:04 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
六月 15, 2017 1:45:04 下午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
六月 15, 2017 1:45:04 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@3787db09')
六月 15, 2017 1:56:43 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Shiro environment
六月 15, 2017 1:56:50 下午 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:423)
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:196)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4677)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:698)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:968)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1742)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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:748)
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:210)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146)
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:89)
at org.nutz.mvc.impl.processor.ViewProcessor.init(ViewProcessor.java:31)
at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
at org.nutz.plugins.apidoc.ApidocUrlMapping.add(ApidocUrlMapping.java:72)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:204)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
... 19 more
Caused by: org.nutz.lang.born.BorningException: Fail to born 'org.nutz.plugins.view.freemarker.FreeMarkerConfigurer'
by args: [
@(freemarker.template.Configuration@2f2230bb)
@(org.apache.catalina.core.ApplicationContextFacade@3f41ab0e)
@(WEB-INF)
@(.ftl)
@(org.nutz.plugins.view.freemarker.FreemarkerDirectiveFactory@653076e0)] because:
java.lang.IllegalArgumentException
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:114)
... 31 more
Caused by: java.lang.IllegalArgumentException
at org.apache.catalina.webresources.AbstractResourceSet.checkPath(AbstractResourceSet.java:39)
at org.apache.catalina.webresources.DirResourceSet.getResource(DirResourceSet.java:91)
at org.apache.catalina.webresources.StandardRoot.getResourceInternal(StandardRoot.java:176)
at org.apache.catalina.webresources.CachedResource.validate(CachedResource.java:62)
at org.apache.catalina.webresources.Cache.getResource(Cache.java:78)
at org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot.java:163)
at org.apache.catalina.core.StandardContext.getRealPath(StandardContext.java:4528)
at org.apache.catalina.core.ApplicationContext.getRealPath(ApplicationContext.java:398)
at org.apache.catalina.core.ApplicationContextFacade.getRealPath(ApplicationContextFacade.java:335)
at org.nutz.plugins.view.freemarker.FreeMarkerConfigurer.initp(FreeMarkerConfigurer.java:50)
at org.nutz.plugins.view.freemarker.FreeMarkerConfigurer.(FreeMarkerConfigurer.java:45)
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:423)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
... 33 more
六月 15, 2017 1:56:50 下午 org.apache.catalina.core.ApplicationContext log
信息: Cleaning up Shiro Environment
六月 15, 2017 1:56:50 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
六月 15, 2017 1:56:50 下午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
六月 15, 2017 1:56:50 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@108aedfd')