Search code examples
javaazure-purview

which jar include com.azure.core.credential.TokenCredential and where to get it?


I'm running following this sample to test SDK of java on azure purview. when I use javac to build this class, I got below error, it show I miss some classes I wonder Where to get these classes? I search in mvnrepository, but not found related jars.

enter image description here

here is my commandline: javac -cp .\azure-identity-1.3.1.jar;azure-analytics-purview-catalog-1.0.0-beta.jar;azure-core-experimental-1.0.0-beta.14.jar;javax.json-1.1.4.jar ListGlossaries.java

actually ,the TokenCredential was imported in class PurviewCatalogClientBuilder , not sure why it cannot find it


Solution

  • you can download and in github https://github.com/Azure/azure-sdk-for-java