1、报错信息如下:
java.lang.RuntimeException: Server returned status: 404 with body: and Trailer header: null
at io.ipfs.api.Multipart.finish(Multipart.java:155)
at io.ipfs.api.IPFS.add(IPFS.java:110)
at io.ipfs.api.IPFS.add(IPFS.java:99)
at io.ipfs.api.IPFS.add(IPFS.java:95)
at io.ipfs.api.IPFS.add(IPFS.java:91)
at top.cfl.cflwork.util.IPFSUtil.uploadFile(IPFSUtil.java:68)
at top.cfl.cflwork.controller.upload.UploadController.uploadAvatar(UploadController.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.j