NutzCN Logo
问答 rkcms上传错误
发布于 3177天前 作者 汉歌 1818 次浏览 复制 上一个帖子 下一个帖子
标签:
Started Jetty Server
Starting scanner at interval of 10 seconds.
2016-04-11 15:53:03,872 [DEBUG][org.nutz.mvc.impl.UrlMappingImpl] - Found mapping for [GET] path=/setting/edit : SettingAct.edit(SettingAct.java:29)
2016-04-11 15:53:05,517 [DEBUG][org.nutz.mvc.impl.UrlMappingImpl] - Found mapping for [GET] path=/admin/file/browser : FileAct.browser(FileAct.java:52)
2016-04-11 15:53:05,520 [WARN][org.nutz.mvc.impl.processor.FailProcessor] - Error@/admin/file/browser :
org.nutz.ioc.IocException: Fail to set 'org.nutz.plugins.view.freemarker.FreeMarkerConfigurer@135dbe3f'[ null ] to field com.rekoe.service.FileService.'freeMarkerConfigurer' because [org.nutz.lang.born.BorningException: Fail to born 'com.rekoe.web.freemarker.FreeMarkerConfigurer'
 by args: [
  @(org.nutz.plugins.view.freemarker.FreeMarkerConfigurer@135dbe3f)]]: Fail to born 'com.rekoe.web.freemarker.FreeMarkerConfigurer'
 by args: [
  @(org.nutz.plugins.view.freemarker.FreeMarkerConfigurer@135dbe3f)] FAIL to create Ioc Bean name=[fileService] FAIL to create Ioc Bean name=[fileAct]
	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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: org.nutz.ioc.IocException: Fail to set 'org.nutz.plugins.view.freemarker.FreeMarkerConfigurer@135dbe3f'[ null ] to field com.rekoe.service.FileService.'freeMarkerConfigurer' because [org.nutz.lang.born.BorningException: Fail to born 'com.rekoe.web.freemarker.FreeMarkerConfigurer'
 by args: [
  @(org.nutz.plugins.view.freemarker.FreeMarkerConfigurer@135dbe3f)]]: Fail to born 'com.rekoe.web.freemarker.FreeMarkerConfigurer'
 by args: [
  @(org.nutz.plugins.view.freemarker.FreeMarkerConfigurer@135dbe3f)] FAIL to create Ioc Bean name=[fileService]
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:147)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:204)
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:27)
	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)
	... 36 more
Caused by: java.lang.RuntimeException: Fail to set 'org.nutz.plugins.view.freemarker.FreeMarkerConfigurer@135dbe3f'[ null ] to field com.rekoe.service.FileService.'freeMarkerConfigurer' because [org.nutz.lang.born.BorningException: Fail to born 'com.rekoe.web.freemarker.FreeMarkerConfigurer'
 by args: [
  @(org.nutz.plugins.view.freemarker.FreeMarkerConfigurer@135dbe3f)]]: Fail to born 'com.rekoe.web.freemarker.FreeMarkerConfigurer'
 by args: [
  @(org.nutz.plugins.view.freemarker.FreeMarkerConfigurer@135dbe3f)]
	at org.nutz.lang.Lang.makeThrow(Lang.java:102)
	at org.nutz.lang.inject.InjectByField.inject(InjectByField.java:30)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
	... 41 more
2016-04-11 15:53:05,527 [DEBUG][org.nutz.mvc.impl.UrlMappingImpl] - Found mapping for [GET] path=/admin/common/unauthorized : CommonAct.unauthorized(CommonAct.java:32)

2 回复

FreeMarkerConfigurer 有问题的样子

更新代码就ok了

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