graalvm minio DownloadObjectArgs must have no argument constructor #5871
 Unanswered 
    maomaochong2dai   asked this question in Q&A 
 Replies: 1 comment
-
|   I would assume this has to be an issue rather than a discussion?  |  
Beta Was this translation helpful? Give feedback.
  0 replies  
  Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment 
 
Uh oh!
There was an error while loading. Please reload this page.
-
code:
public void download(String bucketName,String minioFileName,String fileName) {
minioClient.downloadObject(
DownloadObjectArgs
.builder()
.bucket(bucketName)
.object(minioFileName)
.filename(fileName)
.build()
);
}
idea no promble,but exe has promble:
Caused by: java.lang.RuntimeException: class io.minio.DownloadObjectArgs must have no argument constructor
at io.minio.BaseArgs$Builder.newInstance(BaseArgs.java:135)
at io.minio.BaseArgs$Builder.build(BaseArgs.java:147)
environment:
graalvm22.3.1 jdk17 springboot3.0 minio8.5.1 when i mvn -Pnative native:compile get .exe
Beta Was this translation helpful? Give feedback.
All reactions