-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
<act.version>1.5.3</act.version>
<act-morphia.version>1.2.1</act-morphia.version>
<act-storage.version>0.11.0</act-storage.version>
<osgl-storage.version>1.2.0</osgl-storage.version>Upload file function could not work with the latest act and act-storage.
Error trace:
Exception in thread "XNIO-1 task-1" java.lang.NoSuchMethodError: act.util.UploadFileStorageService.getFile(Ljava/lang/String;)Ljava/io/File;
at act.util.UploadFileStorageService._store(UploadFileStorageService.java:82)
at act.util.UploadFileStorageService.store(UploadFileStorageService.java:73)
at act.data.ApacheMultipartParser.parse(ApacheMultipartParser.java:57)
at act.app.ActionContext.bodyParams(ActionContext.java:415)
at act.app.ActionContext.getBody(ActionContext.java:402)
at act.app.ActionContext.paramVal(ActionContext.java:384)
at act.inject.param.StringValueResolverValueLoader.load(StringValueResolverValueLoader.java:42)
at act.inject.param.JsonParamValueLoader.load(JsonParamValueLoader.java:67)
at act.inject.param.ScopedParamValueLoader.load(ScopedParamValueLoader.java:49)
at act.inject.param.ParamValueLoaderService.loadMethodParams(ParamValueLoaderService.java:182)
at act.handler.builtin.controller.impl.ReflectedHandlerInvoker.params(ReflectedHandlerInvoker.java:720)
at act.handler.builtin.controller.impl.ReflectedHandlerInvoker.handle(ReflectedHandlerInvoker.java:311)
at act.handler.builtin.controller.ControllerAction.handle(ControllerAction.java:53)
at act.handler.builtin.controller.RequestHandlerProxy._handle(RequestHandlerProxy.java:501)
at act.handler.builtin.controller.RequestHandlerProxy.handle(RequestHandlerProxy.java:206)
at act.handler.DelegateRequestHandler.handle(DelegateRequestHandler.java:47)
at act.route.Router$ContextualHandler.handle(Router.java:1341)
at act.xio.NetworkHandler$3.run(NetworkHandler.java:150)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Reproduce:
Update act and act-storage to the target version of demo project upload
Metadata
Metadata
Assignees
Labels
No labels