When i use the following to create a table in azure ( java )
CloudStorageAccount storageAccount = CloudStorageAccount.parse(storageConnectionString);
CloudTableClient tableClient = storageAccount.createCloudTableClient();
CloudTable table = tableClient.getTableReference("people");
table.createIfNotExist();
i receive the following exception:
java.lang.NoSuchMethodError: com.microsoft.windowsazure.services.table.client.CloudTableClient.getTableReference(Ljava/lang/String;)Lcom/microsoft/windowsazure/services/table/client/CloudTable;
I use the following lib: microsoft-windowsazure-api-0.4.6.jar. All the other calls to the table works perfectly.
When i use microsoft-windowsazure-api-0.2.2.jar i had to use createTableIfNotExists method and this worked perfectly for me. But like to update the lib for better fault handling.
Has anybody encountered the same problem? Any help is appreciated!