Coder Social home page Coder Social logo

Comments (2)

twoe-hub avatar twoe-hub commented on September 20, 2024

Removing "confidential-port" property, solve it. Thanks.

from immutant-keycloak.

rajjayabalan avatar rajjayabalan commented on September 20, 2024

SEVERE: Exception sending context initialized event to listener instance of class [org.springframework.web.context.ContextLoaderListener]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adapterDeploymentContext' defined in ServletContext resource [/WEB-INF/spring-security-keycloak.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "auth-server-url" (class org.keycloak.representations.adapters.config.AdapterConfig), not marked as ignorable (45 known properties: "tokenCookiePath", "truststorePassword", "registerNodeAtStartup", "redirectRewriteRules", "corsMaxAge", "truststore", "sslRequired", "clientKeystore", "resource", "realm", "realmKey", "corsExposedHeaders", "publicClient", "exposeToken", "turnOffChangeSessionIdOnLogin", "pkce", "autodetectBearerOnly", "publicKeyCacheTtl", "proxyUrl", "connectionTimeout", "authServerUrl", "registerNodePeriod", "tokenStore", "confidentialPort", "cors", "socketTimeout", "enableBasicAuth", "allowAnyHostname", "corsAllowedMethods", "connectionPoolSize", "credentials", "disableTrustManager", "minTimeBetweenJwksRequests", "policyEnforcerConfig", "clientKeystorePassword", "corsAllowedHeaders", "alwaysRefreshToken", "clientKeyPassword", "useResourceRoleMappings", "verifyTokenAudience", "ignoreOAuthQueryParameter", "tokenMinimumTimeToLive", "bearerOnly", "connectionTTL", "principalAttribute"])
at [Source: (ByteArrayInputStream); line: 3, column: 23] (through reference chain: org.keycloak.representations.adapters.config.AdapterConfig["auth-server-url"])
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:742)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4768)

from immutant-keycloak.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.