私はTomcatよりもJavaでWindowsAzureを使用しています。ローカルストレージエミュレータを使用したい。そこで、ローカルのstoageエミュレーターを起動して使用しました。
storageConnectionString = "UseDevelopmentStorage = true"
次に、テーブルを作成しようとしています。
public static void createUsersTable() {
try {
CloudStorageAccount storageAccount = CloudStorageAccount
.parse(storageConnectionString);
CloudTableClient tableClient = storageAccount
.createCloudTableClient();
CloudTable table = tableClient.getTableReference("users");
table.createIfNotExist();
Logger.info("table users was created");
} catch (Exception e) {
Logger.info("table users cannot be created");
e.printStackTrace();
}
}
しかし、行table.createIfNotExist()を実行すると、例外が発生します。
java.lang.IllegalArgumentException:null InputStreamは、com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:317)のcom.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:614)では有効な引数ではありません)com.microsoft.windowsazure.services.core.storage.utils.Utility.createXMLStreamReaderFromStream(Utility.java:327)で
私はその例外でインターネット上で何も見つけることができません、誰かがこれを以前に見ましたか?