Java KeyClope:使用maven部署项目时出错

Java KeyClope:使用maven部署项目时出错,java,eclipse,maven,jboss,keycloak,Java,Eclipse,Maven,Jboss,Keycloak,我刚刚下载了KeyClope的1.8版(称为Demo的版本),其中包含了一些已经在JBoss应用服务器上完成的项目,这些项目应该很容易测试 我安装了该产品,并且能够访问它 我检查了预要求: java-版本>1.8.0_65(需要1.8.*版本) mvn-版本>3.10.0(需要3.2.1) git--版本>已安装 就在YouTube上的教程(“Keyclope教程:基础第2部分”)之后,当我进入存在pom.xml文件的目录时,我启动了“mvn jboss as:deploy”,但jboss向

我刚刚下载了KeyClope的1.8版(称为Demo的版本),其中包含了一些已经在JBoss应用服务器上完成的项目,这些项目应该很容易测试

我安装了该产品,并且能够访问它

我检查了预要求:

  • java-版本>1.8.0_65(需要1.8.*版本)
  • mvn-版本>3.10.0(需要3.2.1)
  • git--版本>已安装
就在YouTube上的教程(“Keyclope教程:基础第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


我应该如何解决这个错误?

我相信您正在遵循这些示例-您选择了EAP6/AS7路线还是Wildfly路线?您好,阿胡斯,我刚刚打开了KeyClope,并检查了maven、java和git。可能是您提到的错误,我应该如何解决问题并继续?谢谢我相信您正在遵循这些示例-您选择了EAP6/AS7路线还是Wildfly路线?您好,阿胡斯,我刚刚打开了KeyClope,并检查了maven、java和git。可能是您提到的错误,我应该如何解决问题并继续?谢谢