You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble inserting into Azure DataLake
I currently have a system set up with Spring boot 3.1.4 and azure-storage-file-datalake 12.18.0
I can log in without problems with the application but when inserting I have tried several things and they are all giving me an error, the last one I have is:
"ERROR","stack_trace":"java.lang.NoSuchFieldError: V2023_11_03
at com.azure.storage.file.datalake.implementation.util.TransformUtils.toBlobServiceVersion(TransformUtils.java:54)
at com.azure.storage.file.datalake.DataLakeDirectoryAsyncClient.prepareBuilderAppendPath(DataLakeDirectoryAsyncClient.java:1304)
at com.azure.storage.file.datalake.DataLakeDirectoryAsyncClient.getFileAsyncClient(DataLakeDirectoryAsyncClient.java:362)
at com.azure.storage.file.datalake.DataLakeDirectoryClient.getFileClient(DataLakeDirectoryClient.java:292)
at com.azure.storage.file.datalake.DataLakeDirectoryClient.createFileWithResponse(DataLakeDirectoryClient.java:441)
at com.azure.storage.file.datalake.DataLakeDirectoryClient.createFile(DataLakeDirectoryClient.java:340)
at com.azure.storage.file.datalake.DataLakeDirectoryClient.createFile(DataLakeDirectoryClient.java:314)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm having trouble inserting into Azure DataLake
I currently have a system set up with Spring boot 3.1.4 and azure-storage-file-datalake 12.18.0
I can log in without problems with the application but when inserting I have tried several things and they are all giving me an error, the last one I have is:
"ERROR","stack_trace":"java.lang.NoSuchFieldError: V2023_11_03
at com.azure.storage.file.datalake.implementation.util.TransformUtils.toBlobServiceVersion(TransformUtils.java:54)
at com.azure.storage.file.datalake.DataLakeDirectoryAsyncClient.prepareBuilderAppendPath(DataLakeDirectoryAsyncClient.java:1304)
at com.azure.storage.file.datalake.DataLakeDirectoryAsyncClient.getFileAsyncClient(DataLakeDirectoryAsyncClient.java:362)
at com.azure.storage.file.datalake.DataLakeDirectoryClient.getFileClient(DataLakeDirectoryClient.java:292)
at com.azure.storage.file.datalake.DataLakeDirectoryClient.createFileWithResponse(DataLakeDirectoryClient.java:441)
at com.azure.storage.file.datalake.DataLakeDirectoryClient.createFile(DataLakeDirectoryClient.java:340)
at com.azure.storage.file.datalake.DataLakeDirectoryClient.createFile(DataLakeDirectoryClient.java:314)
This is the code I'm putting together:
TokenCredential tokenCredential = this.getDataLakeServiceClient();
I have also carried out other tests such as:
DataLakeFileSystemClient dataLakeFileSystemClient = dataLakesServiceClient.getFileSystemClient(nameFile);
DataLakeFileClient fileClient = dataLakeFileSystemClient.getFileClient(fileName);
They are all giving me errors but I don't understand how to solve these errors
Beta Was this translation helpful? Give feedback.
All reactions