Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

NoClassDefFoundError for com.azure.core.http.policy.HttpLoggingPolicy #545

Open
suhas9844 opened this issue May 27, 2020 · 0 comments
Open

Comments

@suhas9844
Copy link

suhas9844 commented May 27, 2020

Which service(blob, file, queue, table) does this issue concern?

Blob

Which version of the SDK was used?

Please note that if your issue is with v11, we are recommending customers either move back to v11 or move to v12 (currently in preview) if at all possible. Hopefully this resolves your issue, but if there is some reason why moving away from v11 is not possible at this time, please do continue to ask your question and we will do our best to support you. The README for this SDK has been updated to point to more information on why we have made this decision.
12.6.1

What problem was encountered?

When using blob storage sdk with com.microsoft.azure.sdk.iot iot device client sdk, I get the below NoclassDefError.

java.lang.NoClassDefFoundError: Could not initialize class com.azure.core.http.policy.HttpLoggingPolicy

When trying to connect to blob storage account like below:
BlobServiceClient blobServiceClient = new BlobServiceClientBuilder().connectionString(connectionString).buildClient(); BlobContainerClient containerClient = blobServiceClient.getBlobContainerClient(blobContainername);

Have you found a mitigation/solution?

No

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

No branches or pull requests

1 participant