question

80323681 avatar image
0 Votes"
80323681 asked deherman-MSFT answered

file share question

Why the java client pom dependency of the file share provided by the official website cannot be used, and the error NoSuchMethodError is always reported117370-image.png


azure-files
image.png (56.4 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@80323681 Can you let me know which documentation you are referring to you? Have you tried the samples and checked the information provided in the github repo?

https://github.com/Azure/azure-sdk-for-java/tree/azure-storage-file-share_12.2.0/sdk/storage/azure-storage-file-share

0 Votes 0 ·

The version I use (12.10.0) is currently provided by the Azure official website. The github repository I checked is also the maven version. Pom dependency problems have always appeared. When I exclude one dependency conflict, another conflict will follow. Appears, so I keep reporting NoSuchMethodError or NoClassDefException. I just used the github sample you provided, and I successfully connected, thanks!
https://docs.microsoft.com/en-us/java/api/overview/azure/storage-file-share-readme?view=azure-java-stable

0 Votes 0 ·

1 Answer

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered

@80323681
I am glad I the link provided above was able to help. If you are still seeing issues with the latest version please open up an issue in GitHub so our SDK service team can investigate. If you need further assistance please provide the GitHub issue link and I can forward this internally to our service team.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.