V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
wanderingFaker
V2EX  ›  问与答

[求助] ajaxFileUpload 上传图片 找不到临时文件的路径

  •  1
     
  •   wanderingFaker · 2016-09-06 15:00:42 +08:00 · 1907 次点击
    这是一个创建于 3033 天前的主题,其中的信息可能已经有所发展或是发生改变。

    这个路径是在哪儿配置的呀 。求助!!! 2016-09-06 14:59:31,227-[http-nio-8080-exec-9][WARN]-[Dispatcher]Could not find create multipart save directory 'E:\JRWG\file\temp'. 2016-09-06 14:59:31,227-[http-nio-8080-exec-9][WARN]-[MultiPartRequest]Unable to parse request org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (3467068) exceeds the configured maximum (2097152) at org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:937) at org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:331) at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:351) at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.parseRequest(JakartaMultiPartRequest.java:151) at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.processUpload(JakartaMultiPartRequest.java:90) at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.parse(JakartaMultiPartRequest.java:80) at org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper.<init>(MultiPartRequestWrapper.java:75) at org.apache.struts2.dispatcher.Dispatcher.wrapRequest(Dispatcher.java:753) at org.apache.struts2.dispatcher.ng.PrepareOperations.wrapRequest(PrepareOperations.java:140) at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:83) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:152) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at com.nantian.yinjianju.filter.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:29) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425) 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) 2016-09-06 14:59:31,229-[http-nio-8080-exec-9][INFO]-[LoggerInter] 2016-09-06 14:59:31,229-[http-nio-8080-exec-9][INFO]-[LoggerInter]REQurl:/JRWG/zcxc/img 2016-09-06 14:59:31,229-[http-nio-8080-exec-9][INFO]-[LoggerInter]REQRemoteAddr:0:0:0:0:0:0:0:1 2016-09-06 14:59:31,229-[http-nio-8080-exec-9][INFO]-[LoggerInter]REQAction:com.nantian.yinjianju.action.ImgAction@26a6e273 2016-09-06 14:59:31,229-[http-nio-8080-exec-9][INFO]-[LoggerInter]REQMethod:POST 2016-09-06 14:59:31,229-[http-nio-8080-exec-9][INFO]-[LoggerInter]REQParameterMap:{} 2016-09-06 14:59:31,229-[http-nio-8080-exec-9][WARN]-[FileUploadInterceptor]the request was rejected because its size (3467068) exceeds the configured maximum (2097152)

    2 条回复    2016-09-07 10:37:04 +08:00
    wanderingFaker
        1
    wanderingFaker  
    OP
       2016-09-06 15:10:40 +08:00
    求助,,
    henneko
        2
    henneko  
       2016-09-07 10:37:04 +08:00 via iPhone
    the request was rejected because its size (3467068) exceeds the configured maximum

    按说这类问题是不应该被回答的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   993 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 21:40 · PVG 05:40 · LAX 13:40 · JFK 16:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.