Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8605829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:56:04+00:00 2026-06-12T02:56:04+00:00

I am following Azure’s basic tutorial on Java API here: https://www.windowsazure.com/en-us/develop/java/how-to-guides/table-service/#CreateTable But encountered the

  • 0

I am following Azure’s basic tutorial on Java API here: https://www.windowsazure.com/en-us/develop/java/how-to-guides/table-service/#CreateTable

But encountered the following error:

cannot find symbol

symbol : method createTableIfNotExists(java.lang.String)

location: class com.microsoft.windowsazure.services.table.client.CloudTableClient

The small program in its entirety (copied from Azure tutorial):

import com.microsoft.windowsazure.services.core.storage.*;
import com.microsoft.windowsazure.services.table.client.*;
import com.microsoft.windowsazure.services.table.client.TableQuery.*;

public class AzureTableWrite {
  public static void main(String[] args) {
    // Define the connection-string with your values
    final String storageConnectionString =
        "DefaultEndpointsProtocol=http;" +
        "AccountName=skivvy;" +
        "AccountKey=foobar";

    // Retrieve storage account from connection-string
    CloudStorageAccount storageAccount =
        CloudStorageAccount.parse(storageConnectionString);

    // Create the table client.
    CloudTableClient tableClient = storageAccount.createCloudTableClient();

    // Create the table if it doesn't exist.
    String tableName = "people";
    tableClient.createTableIfNotExists(tableName);
  }
}

Has anybody encountered the same problem? Any help is appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T02:56:05+00:00Added an answer on June 12, 2026 at 2:56 am

    As mentioned in my response on MSDN Forums (http://social.msdn.microsoft.com/Forums/en-US/windowsazuredata/thread/78c12f97-4209-41a1-86d6-267f5e9f51f6), it seems there’s an issue with the example you’re using.

    Please use this instead:

        CloudTableClient tableClient = storageAccount.createCloudTableClient();
        CloudTable table = tableClient.getTableReference("people");
        table.createIfNotExists();
    

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been following the tutorial over at http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api and have setup a Windows Azure
I'm newbie on azure.I try to following article from : http://msdn.microsoft.com/en-us/library/windowsazure/hh690944(VS.103).aspx first as beginner
I was following Azure Tutorial and found error while trying to run the Azure
Following chunk html code works as expected: <iframe src=http://www.amazon.com/></iframe> But when trying embed inner
I was following Window Azure tutorial for Eclipse. I downloaded the SDK and the
I have an azure table that has the following schema: public class Village :
I am working with Azure Table storage using the .NET API (TableServiceContext, WCF Data
If I have the following CNAME records set up: www.custom1.com CNAME www.myapp.com www.myapp.com CNAME
I was following Azure Tutorial and one of the step asked me to copy
Of the following two options... Silverlight app talks directly to Azure Tables Silverlight app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.