
Background:

Error:

This issue cleared for 2 days, because there is no problem, have a page to upload the mapping path but a transfer to the controller to upload file is error, finally get the @ this system log SysLog annotation problem, as long as add the annotation to upload error, should be a system log annotations in the AOP request did change requests or parameters, such as empty check the specific reason, because waste a lot of time, so the record here! To be a reference for everyone!
Some mistakes are as follows:
Under Caused by: Java. IO. FileNotFoundException: MultipartFile resource [file] always be resolved to absolute file path
The at org. Springframework. Core. IO. AbstractResource. GetFile (AbstractResource. Java: 124)
. 117 common frames omitted
The 2020-12-28 11:08:50. 005 WARN 7164 - [11] IO - 9194 - exec - M.M.A.E xceptionHandlerExceptionResolver: Resolved [com. Alibaba. Fastjson. JSONException: write javabeans error, class org. Springframework. Web. The multipart. Support. StandardMultipartHttpServletRequest $StandardMultipartFile, write javabeans error, class org. Springframework. Web. The multipart. MultipartFileResource, fieldName: resource]