0
我想使用「JetS3t」連接到Amazon S3存儲桶,我也使用Quartz插件, 我在grails-app/jobs中有一份工作,我喜歡在其中訪問S3 ,但我在socond線得到一個錯誤:Grails,使用jets3t連接到S3
AWSCredentials awsCredentials = new AWSCredentials(grailsApplication.config.s3.accessKey, grailsApplication.config.s3.secretKey)
S3Service s3Service = new RestS3Service(awsCredentials)
這裏是錯誤:
ERROR listeners.ExceptionPrinterJobListener - Exception occurred in job: null
Message: java.lang.NoClassDefFoundError: com/jamesmurty/utils/XMLBuilder
我一定要創建服務,並設置我的S3嗎?