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吗?