azure-docs-sdk-java icon indicating copy to clipboard operation
azure-docs-sdk-java copied to clipboard

Unable to connect to the eventhub

Open selva-krishnan opened this issue 5 years ago • 3 comments

Followed the instructions on this document, unable to build or start the application. Getting the below error, Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'azureAdmin' defined in class path resource [com/microsoft/azure/spring/cloud/autoconfigure/context/AzureContextAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.microsoft.azure.spring.cloud.context.core.impl.AzureAdmin]: Factory method 'azureAdmin' threw exception; nested exception is java.lang.IllegalArgumentException: Parameter this.client.subscriptionId() is required and cannot be null.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

selva-krishnan avatar Sep 03 '19 20:09 selva-krishnan