【发布时间】:2020-01-07 07:27:05
【问题描述】:
我正在尝试从以下位置运行示例应用程序:
https://github.com/keycloak/keycloak-quickstarts/tree/latest/app-springboot
我收到错误:
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 1 of method setKeycloakSpringBootProperties in org.keycloak.adapters.springboot.KeycloakBaseSpringBootConfiguration required a bean of type 'org.keycloak.adapters.springboot.KeycloakSpringBootConfigResolver' that could not be found.
Action:
Consider defining a bean of type 'org.keycloak.adapters.springboot.KeycloakSpringBootConfigResolver' in your configuration.
Process finished with exit code 1
【问题讨论】:
-
我没有实际的答案来解决这个问题,但我确实看到 Keycloak 问题跟踪器上存在类似的错误,以获取另一个快速入门。 https://issues.jboss.org/browse/KEYCLOAK-11218 通过克隆该项目并尝试运行它,我还能够重现您看到的相同失败。您可能需要为此快速启动项目创建票证,以防他们错过了该问题会影响多个快速启动。我确实尝试定义该类型的 bean,但这会导致有关其他未满足的依赖项的其他运行时错误。
标签: java spring-boot keycloak