开发者社区> 问答> 正文

oss上传错误MessageAccessDenied


log4j:ERROR Could not find value for key log4j.appender.INFO
log4j:ERROR Could not instantiate appender named "INFO".
正在上传...
Exception in thread "main" [Error Code]:AccessDenied, [Message]:AccessDenied
    at com.aliyun.openservices.oss.internal.OSSExceptionFactory.create(OSSExceptionFactory.java:14)
    at com.aliyun.openservices.oss.internal.OSSErrorResponseHandler.handle(OSSErrorResponseHandler.java:39)
    at com.aliyun.common.comm.ServiceClient.handleResponse(ServiceClient.java:275)
    at com.aliyun.common.comm.ServiceClient.sendRequestImpl(ServiceClient.java:173)
    at com.aliyun.common.comm.ServiceClient.sendRequest(ServiceClient.java:136)
    at com.aliyun.openservices.oss.internal.OSSOperation.send(OSSOperation.java:59)
    at com.aliyun.openservices.oss.internal.OSSBucketOperation.listObjects(OSSBucketOperation.java:236)
    at com.aliyun.openservices.oss.OSSClient.listObjects(OSSClient.java:272)
    at com.aliyun.openservices.oss.OSSClient.listObjects(OSSClient.java:250)
    at com.kaishuhezi.api.oss.OSSMultipartSample.deleteBucket(OSSMultipartSample.java:120)
    at com.kaishuhezi.api.oss.OSSMultipartSample.main(OSSMultipartSample.java:94)

展开
收起
cha-baba 2014-11-13 13:50:41 11339 0
2 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
OSS运维进阶实战手册 立即下载
《OSS运维基础实战手册》 立即下载
OSS运维基础实战手册 立即下载