You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.
after uploading a small file 26kB, the webpage returns
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sun Nov 03 11:05:59 CST 2019
There was an unexpected error (type=Not Found, status=404).
No message available
while at the intellij console
2019-11-03 11:03:57.656 INFO 30032 --- [ main] c.e.s.SpringBootFileUploadApplication : No active profile set, falling back to default profiles: default
2019-11-03 11:04:00.013 INFO 30032 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2019-11-03 11:04:00.020 INFO 30032 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2019-11-03 11:04:00.021 INFO 30032 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.27]
2019-11-03 11:04:00.076 INFO 30032 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2019-11-03 11:04:00.077 INFO 30032 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2364 ms
2019-11-03 11:04:00.177 INFO 30032 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2019-11-03 11:04:00.213 INFO 30032 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html]
2019-11-03 11:04:00.271 INFO 30032 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2019-11-03 11:04:00.274 INFO 30032 --- [ main] c.e.s.SpringBootFileUploadApplication : Started SpringBootFileUploadApplication in 3.034 seconds (JVM running for 3.603)
2019-11-03 11:04:20.426 INFO 30032 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-11-03 11:04:20.427 INFO 30032 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2019-11-03 11:04:20.432 INFO 30032 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 4 ms
No particular error were identified, and I could not find the project in this repo called spring boot file upload to compare, which is quite unfortunate. What's the source of the problem. I'm sure it's not the size of the upload file, since I've encountered this problem and the console returned an error message for the size. I replace the large file with a tiny one so that the error message didn't come up again. However the webpage became what's described above。
The text was updated successfully, but these errors were encountered:
at UploadController @RestController
public class UploadController {
Map<String, Object> result = new HashMap<>();
/// Receive message @RequestMapping(value="/uploadFile", method = RequestMethod.POST)
after uploading a small file 26kB, the webpage returns
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sun Nov 03 11:05:59 CST 2019
There was an unexpected error (type=Not Found, status=404).
No message available
while at the intellij console
2019-11-03 11:03:57.656 INFO 30032 --- [ main] c.e.s.SpringBootFileUploadApplication : No active profile set, falling back to default profiles: default
2019-11-03 11:04:00.013 INFO 30032 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2019-11-03 11:04:00.020 INFO 30032 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2019-11-03 11:04:00.021 INFO 30032 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.27]
2019-11-03 11:04:00.076 INFO 30032 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2019-11-03 11:04:00.077 INFO 30032 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2364 ms
2019-11-03 11:04:00.177 INFO 30032 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2019-11-03 11:04:00.213 INFO 30032 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html]
2019-11-03 11:04:00.271 INFO 30032 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2019-11-03 11:04:00.274 INFO 30032 --- [ main] c.e.s.SpringBootFileUploadApplication : Started SpringBootFileUploadApplication in 3.034 seconds (JVM running for 3.603)
2019-11-03 11:04:20.426 INFO 30032 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-11-03 11:04:20.427 INFO 30032 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2019-11-03 11:04:20.432 INFO 30032 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 4 ms
No particular error were identified, and I could not find the project in this repo called spring boot file upload to compare, which is quite unfortunate. What's the source of the problem. I'm sure it's not the size of the upload file, since I've encountered this problem and the console returned an error message for the size. I replace the large file with a tiny one so that the error message didn't come up again. However the webpage became what's described above。
The text was updated successfully, but these errors were encountered: