IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> Java知识库 -> springboot,提交文件大小配置 -> 正文阅读

[Java知识库]springboot,提交文件大小配置

org.apache.tomcat.util.http.fileupload.impl.SizeLimitExceededException: the request was rejected because its size (133185554) exceeds the configured maximum (52428800)
at org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.init(FileItemIteratorImpl.java:150) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.getMultiPartStream(FileItemIteratorImpl.java:194) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.findNextItem(FileItemIteratorImpl.java:213) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.tomcat.util.http.fileupload.impl.FileItemIteratorImpl.(FileItemIteratorImpl.java:131) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.tomcat.util.http.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:255) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:279) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.connector.Request.parseParts(Request.java:2869) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.connector.Request.getParts(Request.java:2771) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.connector.RequestFacade.getParts(RequestFacade.java:1098) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.springframework.web.multipart.support.StandardMultipartHttpServletRequest.parseRequest(StandardMultipartHttpServletRequest.java:95) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.springframework.web.multipart.support.StandardMultipartHttpServletRequest.(StandardMultipartHttpServletRequest.java:88) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.springframework.web.multipart.support.StandardServletMultipartResolver.resolveMultipart(StandardServletMultipartResolver.java:87) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.checkMultipart(DispatcherServlet.java:1178) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1012) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) ~[tomcat-embed-core-9.0.37.jar:4.0.FR]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) ~[tomcat-embed-core-9.0.37.jar:4.0.FR]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.37.jar:9.0.37]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.coyote.AbstractProtocol C o n n e c t i o n H a n d l e r . p r o c e s s ( A b s t r a c t P r o t o c o l . j a v a : 868 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . t o m c a t . u t i l . n e t . N i o E n d p o i n t ConnectionHandler.process(AbstractProtocol.java:868) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.tomcat.util.net.NioEndpoint ConnectionHandler.process(AbstractProtocol.java:868)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.tomcat.util.net.NioEndpointSocketProcessor.doRun(NioEndpoint.java:1589) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor W o r k e r . r u n ( T h r e a d P o o l E x e c u t o r . j a v a : 630 ) ? [ n a : n a ] a t o r g . a p a c h e . t o m c a t . u t i l . t h r e a d s . T a s k T h r e a d Worker.run(ThreadPoolExecutor.java:630) ~[na:na] at org.apache.tomcat.util.threads.TaskThread Worker.run(ThreadPoolExecutor.java:630)?[na:na]atorg.apache.tomcat.util.threads.TaskThreadWrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at java.base/java.lang.Thread.run(Thread.java:832) ~[na:na]

org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededException: The field file exceeds its maximum permitted size of 52428800 bytes.
at org.apache.tomcat.util.http.fileupload.impl.FileItemStreamImpl 1. r a i s e E r r o r ( F i l e I t e m S t r e a m I m p l . j a v a : 112 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . t o m c a t . u t i l . h t t p . f i l e u p l o a d . u t i l . L i m i t e d I n p u t S t r e a m . c h e c k L i m i t ( L i m i t e d I n p u t S t r e a m . j a v a : 76 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . t o m c a t . u t i l . h t t p . f i l e u p l o a d . u t i l . L i m i t e d I n p u t S t r e a m . r e a d ( L i m i t e d I n p u t S t r e a m . j a v a : 135 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t j a v a . b a s e / j a v a . i o . F i l t e r I n p u t S t r e a m . r e a d ( F i l t e r I n p u t S t r e a m . j a v a : 106 ) ? [ n a : n a ] a t o r g . a p a c h e . t o m c a t . u t i l . h t t p . f i l e u p l o a d . u t i l . S t r e a m s . c o p y ( S t r e a m s . j a v a : 98 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . t o m c a t . u t i l . h t t p . f i l e u p l o a d . F i l e U p l o a d B a s e . p a r s e R e q u e s t ( F i l e U p l o a d B a s e . j a v a : 293 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o n n e c t o r . R e q u e s t . p a r s e P a r t s ( R e q u e s t . j a v a : 2869 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o n n e c t o r . R e q u e s t . g e t P a r t s ( R e q u e s t . j a v a : 2771 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o n n e c t o r . R e q u e s t F a c a d e . g e t P a r t s ( R e q u e s t F a c a d e . j a v a : 1098 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . s p r i n g f r a m e w o r k . w e b . m u l t i p a r t . s u p p o r t . S t a n d a r d M u l t i p a r t H t t p S e r v l e t R e q u e s t . p a r s e R e q u e s t ( S t a n d a r d M u l t i p a r t H t t p S e r v l e t R e q u e s t . j a v a : 95 ) ? [ s p r i n g ? w e b ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . w e b . m u l t i p a r t . s u p p o r t . S t a n d a r d M u l t i p a r t H t t p S e r v l e t R e q u e s t . < i n i t > ( S t a n d a r d M u l t i p a r t H t t p S e r v l e t R e q u e s t . j a v a : 88 ) ? [ s p r i n g ? w e b ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . w e b . m u l t i p a r t . s u p p o r t . S t a n d a r d S e r v l e t M u l t i p a r t R e s o l v e r . r e s o l v e M u l t i p a r t ( S t a n d a r d S e r v l e t M u l t i p a r t R e s o l v e r . j a v a : 87 ) ? [ s p r i n g ? w e b ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . D i s p a t c h e r S e r v l e t . c h e c k M u l t i p a r t ( D i s p a t c h e r S e r v l e t . j a v a : 1178 ) ? [ s p r i n g ? w e b m v c ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . D i s p a t c h e r S e r v l e t . d o D i s p a t c h ( D i s p a t c h e r S e r v l e t . j a v a : 1012 ) ? [ s p r i n g ? w e b m v c ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . D i s p a t c h e r S e r v l e t . d o S e r v i c e ( D i s p a t c h e r S e r v l e t . j a v a : 943 ) ? [ s p r i n g ? w e b m v c ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . F r a m e w o r k S e r v l e t . p r o c e s s R e q u e s t ( F r a m e w o r k S e r v l e t . j a v a : 1006 ) ? [ s p r i n g ? w e b m v c ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . F r a m e w o r k S e r v l e t . d o P o s t ( F r a m e w o r k S e r v l e t . j a v a : 909 ) ? [ s p r i n g ? w e b m v c ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t j a v a x . s e r v l e t . h t t p . H t t p S e r v l e t . s e r v i c e ( H t t p S e r v l e t . j a v a : 652 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 4.0. F R ] a t o r g . s p r i n g f r a m e w o r k . w e b . s e r v l e t . F r a m e w o r k S e r v l e t . s e r v i c e ( F r a m e w o r k S e r v l e t . j a v a : 883 ) ? [ s p r i n g ? w e b m v c ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t j a v a x . s e r v l e t . h t t p . H t t p S e r v l e t . s e r v i c e ( H t t p S e r v l e t . j a v a : 733 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 4.0. F R ] a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . i n t e r n a l D o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 231 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . d o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 166 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . t o m c a t . w e b s o c k e t . s e r v e r . W s F i l t e r . d o F i l t e r ( W s F i l t e r . j a v a : 53 ) ? [ t o m c a t ? e m b e d ? w e b s o c k e t ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . i n t e r n a l D o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 193 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . d o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 166 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . R e q u e s t C o n t e x t F i l t e r . d o F i l t e r I n t e r n a l ( R e q u e s t C o n t e x t F i l t e r . j a v a : 100 ) ? [ s p r i n g ? w e b ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . O n c e P e r R e q u e s t F i l t e r . d o F i l t e r ( O n c e P e r R e q u e s t F i l t e r . j a v a : 119 ) ? [ s p r i n g ? w e b ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . i n t e r n a l D o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 193 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . d o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 166 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . F o r m C o n t e n t F i l t e r . d o F i l t e r I n t e r n a l ( F o r m C o n t e n t F i l t e r . j a v a : 93 ) ? [ s p r i n g ? w e b ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . O n c e P e r R e q u e s t F i l t e r . d o F i l t e r ( O n c e P e r R e q u e s t F i l t e r . j a v a : 119 ) ? [ s p r i n g ? w e b ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . i n t e r n a l D o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 193 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . d o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 166 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . C h a r a c t e r E n c o d i n g F i l t e r . d o F i l t e r I n t e r n a l ( C h a r a c t e r E n c o d i n g F i l t e r . j a v a : 201 ) ? [ s p r i n g ? w e b ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . O n c e P e r R e q u e s t F i l t e r . d o F i l t e r ( O n c e P e r R e q u e s t F i l t e r . j a v a : 119 ) ? [ s p r i n g ? w e b ? 5.2.8. R E L E A S E . j a r : 5.2.8. R E L E A S E ] a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . i n t e r n a l D o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 193 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . d o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 166 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d W r a p p e r V a l v e . i n v o k e ( S t a n d a r d W r a p p e r V a l v e . j a v a : 202 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d C o n t e x t V a l v e . i n v o k e ( S t a n d a r d C o n t e x t V a l v e . j a v a : 96 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . a u t h e n t i c a t o r . A u t h e n t i c a t o r B a s e . i n v o k e ( A u t h e n t i c a t o r B a s e . j a v a : 541 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d H o s t V a l v e . i n v o k e ( S t a n d a r d H o s t V a l v e . j a v a : 139 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . v a l v e s . E r r o r R e p o r t V a l v e . i n v o k e ( E r r o r R e p o r t V a l v e . j a v a : 92 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d E n g i n e V a l v e . i n v o k e ( S t a n d a r d E n g i n e V a l v e . j a v a : 74 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c a t a l i n a . c o n n e c t o r . C o y o t e A d a p t e r . s e r v i c e ( C o y o t e A d a p t e r . j a v a : 343 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c o y o t e . h t t p 11. H t t p 11 P r o c e s s o r . s e r v i c e ( H t t p 11 P r o c e s s o r . j a v a : 373 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c o y o t e . A b s t r a c t P r o c e s s o r L i g h t . p r o c e s s ( A b s t r a c t P r o c e s s o r L i g h t . j a v a : 65 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . c o y o t e . A b s t r a c t P r o t o c o l 1.raiseError(FileItemStreamImpl.java:112) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.tomcat.util.http.fileupload.util.LimitedInputStream.checkLimit(LimitedInputStream.java:76) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.tomcat.util.http.fileupload.util.LimitedInputStream.read(LimitedInputStream.java:135) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at java.base/java.io.FilterInputStream.read(FilterInputStream.java:106) ~[na:na] at org.apache.tomcat.util.http.fileupload.util.Streams.copy(Streams.java:98) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:293) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.connector.Request.parseParts(Request.java:2869) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.connector.Request.getParts(Request.java:2771) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.connector.RequestFacade.getParts(RequestFacade.java:1098) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.springframework.web.multipart.support.StandardMultipartHttpServletRequest.parseRequest(StandardMultipartHttpServletRequest.java:95) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.springframework.web.multipart.support.StandardMultipartHttpServletRequest.<init>(StandardMultipartHttpServletRequest.java:88) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.springframework.web.multipart.support.StandardServletMultipartResolver.resolveMultipart(StandardServletMultipartResolver.java:87) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.springframework.web.servlet.DispatcherServlet.checkMultipart(DispatcherServlet.java:1178) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1012) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) ~[tomcat-embed-core-9.0.37.jar:4.0.FR] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.2.8.RELEASE.jar:5.2.8.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) ~[tomcat-embed-core-9.0.37.jar:4.0.FR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) ~[tomcat-embed-websocket-9.0.37.jar:9.0.37] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) ~[spring-web-5.2.8.RELEASE.jar:5.2.8.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.coyote.AbstractProtocol 1.raiseError(FileItemStreamImpl.java:112)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.tomcat.util.http.fileupload.util.LimitedInputStream.checkLimit(LimitedInputStream.java:76)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.tomcat.util.http.fileupload.util.LimitedInputStream.read(LimitedInputStream.java:135)?[tomcat?embed?core?9.0.37.jar:9.0.37]atjava.base/java.io.FilterInputStream.read(FilterInputStream.java:106)?[na:na]atorg.apache.tomcat.util.http.fileupload.util.Streams.copy(Streams.java:98)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:293)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.connector.Request.parseParts(Request.java:2869)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.connector.Request.getParts(Request.java:2771)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.connector.RequestFacade.getParts(RequestFacade.java:1098)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.springframework.web.multipart.support.StandardMultipartHttpServletRequest.parseRequest(StandardMultipartHttpServletRequest.java:95)?[spring?web?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.springframework.web.multipart.support.StandardMultipartHttpServletRequest.<init>(StandardMultipartHttpServletRequest.java:88)?[spring?web?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.springframework.web.multipart.support.StandardServletMultipartResolver.resolveMultipart(StandardServletMultipartResolver.java:87)?[spring?web?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.springframework.web.servlet.DispatcherServlet.checkMultipart(DispatcherServlet.java:1178)?[spring?webmvc?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1012)?[spring?webmvc?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)?[spring?webmvc?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)?[spring?webmvc?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)?[spring?webmvc?5.2.8.RELEASE.jar:5.2.8.RELEASE]atjavax.servlet.http.HttpServlet.service(HttpServlet.java:652)?[tomcat?embed?core?9.0.37.jar:4.0.FR]atorg.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)?[spring?webmvc?5.2.8.RELEASE.jar:5.2.8.RELEASE]atjavax.servlet.http.HttpServlet.service(HttpServlet.java:733)?[tomcat?embed?core?9.0.37.jar:4.0.FR]atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)?[tomcat?embed?websocket?9.0.37.jar:9.0.37]atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)?[spring?web?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)?[spring?web?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)?[spring?web?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)?[spring?web?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)?[spring?web?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)?[spring?web?5.2.8.RELEASE.jar:5.2.8.RELEASE]atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.coyote.AbstractProtocolConnectionHandler.process(AbstractProtocol.java:868) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at org.apache.tomcat.util.net.NioEndpoint S o c k e t P r o c e s s o r . d o R u n ( N i o E n d p o i n t . j a v a : 1589 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t o r g . a p a c h e . t o m c a t . u t i l . n e t . S o c k e t P r o c e s s o r B a s e . r u n ( S o c k e t P r o c e s s o r B a s e . j a v a : 49 ) ? [ t o m c a t ? e m b e d ? c o r e ? 9.0.37. j a r : 9.0.37 ] a t j a v a . b a s e / j a v a . u t i l . c o n c u r r e n t . T h r e a d P o o l E x e c u t o r . r u n W o r k e r ( T h r e a d P o o l E x e c u t o r . j a v a : 1130 ) ? [ n a : n a ] a t j a v a . b a s e / j a v a . u t i l . c o n c u r r e n t . T h r e a d P o o l E x e c u t o r SocketProcessor.doRun(NioEndpoint.java:1589) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-embed-core-9.0.37.jar:9.0.37] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor SocketProcessor.doRun(NioEndpoint.java:1589)?[tomcat?embed?core?9.0.37.jar:9.0.37]atorg.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)?[tomcat?embed?core?9.0.37.jar:9.0.37]atjava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)?[na:na]atjava.base/java.util.concurrent.ThreadPoolExecutorWorker.run(ThreadPoolExecutor.java:630) ~[na:na]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-embed-core-9.0.37.jar:9.0.37]
at java.base/java.lang.Thread.run(Thread.java:832) ~[na:na]

3.java springboot 启动类配置

@Bean
public MultipartConfigElement getMultipartConfigElement() {
MultipartConfigFactory factory = new MultipartConfigFactory();
DataSize maxFileSize = DataSize.ofMegabytes(50);//设置文件最大50MB
factory.setMaxFileSize(maxFileSize);
DataSize maxRequestSize = DataSize.ofMegabytes(500);//设置请求数据最大500MB
factory.setMaxRequestSize(maxRequestSize);
return factory.createMultipartConfig();
}

  Java知识库 最新文章
计算距离春节还有多长时间
系统开发系列 之WebService(spring框架+ma
springBoot+Cache(自定义有效时间配置)
SpringBoot整合mybatis实现增删改查、分页查
spring教程
SpringBoot+Vue实现美食交流网站的设计与实
虚拟机内存结构以及虚拟机中销毁和新建对象
SpringMVC---原理
小李同学: Java如何按多个字段分组
打印票据--java
上一篇文章      下一篇文章      查看所有文章
加:2022-09-13 10:59:34  更:2022-09-13 11:01:52 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年11日历 -2024/11/23 12:23:32-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码