huaweicloud-sdk-java-obs
huaweicloud-sdk-java-obs copied to clipboard
The OBS SDK for Java, which is used for accessing Object Storage Service
Bumps log4j-api from 2.17.0 to 2.17.1. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
引入方式 implementation 'com.huaweicloud:esdk-obs-android:3.21.8' 版本 3.21.8 2021-11-26 14:13:11.900 10715-11891/com.maezia.ezia.composer.phoneapp W/System.err: ERROR StatusLogger Could not reconfigure JMX 2021-11-26 14:13:11.900 10715-11891/com.maezia.ezia.composer.phoneapp W/System.err: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/lang/management/ManagementFactory; 2021-11-26 14:13:11.900 10715-11891/com.maezia.ezia.composer.phoneapp W/System.err: at org.apache.logging.log4j.core.jmx.Server.reregisterMBeansAfterReconfigure(Server.java:140)...
 **build.gradle** ` implementation 'com.huaweicloud:esdk-obs-java:3.21.4.1' ` **log** ` *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message transform method call failed at JPLISAgent.c line: 844 Exception in thread "main" java.lang.StackOverflowError at...
由于pom版本[3.21.8,)是这种写法,导致更新maven,下载了最新版本。 新版本3.21.8.1实例化ObsClient失败,debug在com.obs.services.AbstractClient#static代码块failIfExternalEntityParsingCannotBeConfigured抛出异常org.springframework.beans.BeanUtils#instantiateClass(java.lang.reflect.Constructor, java.lang.Object...) throw new BeanInstantiationException(ctor, "Constructor threw exception", ex.getTargetException());
我参照开发文档 https://support.huaweicloud.com/sdk-android-devg-obs/obs_26_0105.html 当添加完 compile 'com.huaweicloud:esdk-obs-android:3.21.8' 原本正常的okhttp请求,报错 Attempt to invoke virtual method 'okhttp3.HttpUrl okhttp3.Request.url()' on a null object reference
调用obsClient.createBucket(“obsBucket”); NoSuchBucket The specified bucket does not exist 0000017C11ADD169951127911DBDB09D 6Znivw4MmdSwirEClq1nZ3gKpNE6pFJppcuG/zUYdGzEkKw+Zb6EIzPQNRZ74Pw2 已存在的桶名
一直报 PutObject: Response Code: -1 Error Message: null Error Code: null Request ID: null Host ID: null
调用删除方法,成功删除文件,但返回结果中deleteMarker属性却一直是false,即使桶里没有被删除的文件 代码:DeleteObjectResult result = getObsClient().deleteObject(bucketName, fileName); 日志信息:2021-06-17 16:13:17 468|com.obs.services.internal.RestStorageService|tryRequest|421|Response for 'DELETE'. Content-Type: null, ResponseCode:204, Headers: Server: OBS 