Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新版本3.21.8.1实例化ObsClient失败 #60

Open
jattxgt opened this issue Nov 15, 2021 · 1 comment
Open

新版本3.21.8.1实例化ObsClient失败 #60

jattxgt opened this issue Nov 15, 2021 · 1 comment

Comments

@jattxgt
Copy link

jattxgt commented Nov 15, 2021

由于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());

@liaofuda
Copy link
Collaborator

liaofuda commented Nov 1, 2023

您好,请尝试使用bundle版本SDK呢:
https://support.huaweicloud.com/sdk-java-devg-obs/obs_21_0105.html

<dependency>
   <groupId>com.huaweicloud</groupId>
   <artifactId>esdk-obs-java-bundle</artifactId>
   <version>bundleVersionNumber</version>
</dependency>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants