1

Keycloak のバージョン 1.8 (Demo と呼ばれるバージョン) をダウンロードしました。これには、JBoss アプリケーション サーバーで既に実行されている、簡単にテストできるいくつかのプロジェクトが含まれています。

製品をインストールし、アクセスできるようになりました。

前提条件を確認しました:

  • java -バージョン > 1.8.0_65 (1.8.* が必要)
  • mvn -version > 3.10.0 (3.2.1 が必要)
  • git --version > インストール済み

YouTube のチュートリアル (「Keycloak チュートリアル: 基本パート 2」) に従って、pom.xmlファイルが存在するディレクトリに入ると、「mvn jboss-as:deploy」を起動しますが、JBoss で次のエラーが表示されます。



    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO] 
    [INFO] Examples ........................................... SUCCESS [  2.093 s]
    [INFO] Customer Portal - Secured via Valve ................ FAILURE [  6.766 s]
    [INFO] Customer Portal CLI ................................ SKIPPED
    [INFO] Customer Portal JS ................................. SKIPPED
    [INFO] Product Portal ..................................... SKIPPED
    [INFO] EAR example ........................................ SKIPPED
    [INFO] Admin Access Example ............................... SKIPPED
    [INFO] Angular Product Portal JS .......................... SKIPPED
    [INFO] JAX-RS Database Service Using OAuth Bearer Tokens .. SKIPPED
    [INFO] Simple OAuth Client ................................ SKIPPED
    [INFO] Simple OAuth Client Using CDI and JSF .............. SKIPPED
    [INFO] Service Account Example App ........................ SKIPPED
    [INFO] Offline Access Portal .............................. SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 10.568 s
    [INFO] Finished at: 2016-01-15T00:35:37+01:00
    [INFO] Final Memory: 34M/168M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.5.Final:deploy (default-cli) on project customer-portal-example: Could not execute goal deploy on /home/user/keycloak-demo-1.8.0.CR1/examples/unconfigured-demo/customer-app/target/customer-portal.war. Reason: I/O Error could not execute operation '{
    [ERROR] "operation" => "read-attribute",
    [ERROR] "address" => [],
    [ERROR] "name" => "launch-type"
    [ERROR] }': java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out
    [ERROR] -> [Help 1]
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    [ERROR] 
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn  -rf :customer-portal-example

このエラーにどのように対処すればよいですか?

4

0 に答える 0