Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.microsoft.azure.spring.autoconfigure.b2c.AADB2CAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.microsoft.azure.spring.autoconfigure.b2c.AADB2CAutoConfiguration$AADB2COidcAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'azure.activedirectory.b2c-com.microsoft.azure.spring.autoconfigure.b2c.AADB2CProperties': Could not bind properties to 'AADB2CProperties' : prefix=azure.activedirectory.b2c, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'azure.activedirectory.b2c' to com.microsoft.azure.spring.autoconfigure.b2c.AADB2CProperties
This code does not work.
pom.xml
Code as mentioned in the docs
mvn clean package
Error thrown
Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.microsoft.azure.spring.autoconfigure.b2c.AADB2CAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.microsoft.azure.spring.autoconfigure.b2c.AADB2CAutoConfiguration$AADB2COidcAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'azure.activedirectory.b2c-com.microsoft.azure.spring.autoconfigure.b2c.AADB2CProperties': Could not bind properties to 'AADB2CProperties' : prefix=azure.activedirectory.b2c, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'azure.activedirectory.b2c' to com.microsoft.azure.spring.autoconfigure.b2c.AADB2CProperties