如何将keycloak与joinfaces项目集成?

时间:2019-05-28 04:42:26

标签: spring-boot jsf-2.2 keycloak joinfaces

i want to integrate keycloak in joinfaces project but i got an error while building the project
  

我已将这些依赖项放入pom.xml中。

     

我需要注意,我使用的是2.4.0版的joinfaces和4.8.3版的keycloak版本

        <dependency>
           <groupId>org.keycloak</groupId>
           <artifactId>keycloak-spring-boot-starter</artifactId>
        </dependency>
                <dependency>
        <groupId>org.keycloak</groupId>
        <artifactId>keycloak-tomcat8-adapter</artifactId>
        <version>4.8.3.Final</version>
        </dependency>
        <!-- 
        https://mvnrepository.com/artifact/org.keycloak/keycloak- 
       tomcat8-adapter-dist -->
       <dependency>
          <groupId>org.keycloak</groupId>
          <artifactId>keycloak-tomcat8-adapter-dist</artifactId>
          <version>4.8.3.Final</version>
          <type>pom</type>
       </dependency>

      <dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>org.keycloak.bom</groupId>
            <artifactId>keycloak-adapter-bom</artifactId>
            <version>4.8.3.Final</version>
            <type>pom</type>
            <scope>import</scope>
          </dependency>
        </dependencies>
     </dependencyManagement>
  

在运行apache 8配置的Maven项目时,出现这些错误

Caused by: java.lang.ClassNotFoundException: org.springframework.boot.web.server.WebServerFactoryCustomizer

]

org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 

org.apache.catalina.LifecycleException:无法启动组件[StandardEngine [Catalina] .StandardHost [localhost] .StandardContext [/ wallet]

0 个答案:

没有答案