Код: Выделить всё
*ERROR*| [Timer-985]| com.microsoft.azure.kusto.ingest.ResourceManager| Error in refreshIngestionAuthToken.| com.microsoft.azure.kusto.ingest.exceptions.IngestionServiceException: Error refreshing IngestionAuthToken
at com.microsoft.azure.kusto.ingest.ResourceManager.refreshIngestionAuthToken(ResourceManager.java:199)
at com.microsoft.azure.kusto.ingest.ResourceManager.access$500(ResourceManager.java:22)
at com.microsoft.azure.kusto.ingest.ResourceManager$1RefreshIngestionAuthTokenTask.run(ResourceManager.java:102)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: com.microsoft.azure.kusto.data.exceptions.DataServiceException: Error acquiring ApplicationAccessToken
at com.microsoft.azure.kusto.data.auth.ConfidentialAppTokenProviderBase.acquireNewAccessToken(ConfidentialAppTokenProviderBase.java:32)
at com.microsoft.azure.kusto.data.auth.MsalTokenProviderBase.acquireAccessToken(MsalTokenProviderBase.java:46)
at com.microsoft.azure.kusto.data.ClientImpl.initHeaders(ClientImpl.java:196)
at com.microsoft.azure.kusto.data.ClientImpl.executeToJsonResult(ClientImpl.java:135)
at com.microsoft.azure.kusto.data.ClientImpl.execute(ClientImpl.java:76)
at com.microsoft.azure.kusto.data.ClientImpl.execute(ClientImpl.java:71)
at com.microsoft.azure.kusto.data.ClientImpl.execute(ClientImpl.java:66)
at com.microsoft.azure.kusto.ingest.ResourceManager.refreshIngestionAuthToken(ResourceManager.java:190)
... 4 common frames omitted
Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.microsoft.aad.msal4j.JsonHelper
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1928)
at com.microsoft.azure.kusto.data.auth.ConfidentialAppTokenProviderBase.acquireNewAccessToken(ConfidentialAppTokenProviderBase.java:30)
Код: Выделить всё
private JsonHelper() {
}
- Манифест, зависимость встраивания и зависимость экспорта показывают, что msal4j имеет версию 1.11.2, kusto.data имеет версию 2.5.1, kusto.ingest имеет версию 2.5.1
- Я декомпилировал файл JsonHelper.class из файла jar и проверил, есть ли у него инициализатор метод.
Для справки,
Код: Выделить всё
masl4jКод: Выделить всё
msal4jПодробнее здесь: https://stackoverflow.com/questions/783 ... ion-1-11-2