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
[Question] throw a error #51
Comments
maven : and I have configured the relevant properties in my application.yml ;such as access-key,secret-key,endpoint |
Can you upload your project to a github repository so I can help you figure out conflicts. |
you can import another dependency which like this to solve your problem: |
Thank you |
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'aliCloudEdasSdk' defined in class path resource [com/alibaba/cloud/spring/boot/context/autoconfigure/EdasContextAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.cloud.context.edas.AliCloudEdasSdk]: Factory method 'aliCloudEdasSdk' threw exception; nested exception is java.lang.NoSuchMethodError: com.aliyuncs.profile.DefaultProfile.getHttpClientConfig()Lcom/aliyuncs/http/HttpClientConfig;
my code:
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = {ThirdPartyApplication.class}, webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
public class ThirdPartyApplicationTests {
}
The text was updated successfully, but these errors were encountered: