无法部署kitchennsink示例

时间:2014-12-31 06:51:57

标签: wildfly wildfly-8

我安装了wildfly 8.2.0.Final,我正在使用eclipse和jboss developer studio插件。从日食中的jboss中心侧开始,我开始使用样品厨房。当我尝试通过'mvn clean install jboss-as:deploy'进行部署时,我收到错误:

[ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:deploy (default-cli) on project jboss-kitchensink: Could not execute goal deploy on /home/vagrant/workspaces/projects1/jboss-kitchensink/target/jboss-kitchensink.war. Reason: I/O Error could not execute operation '{
[ERROR] "address" => [],
[ERROR] "operation" => "read-attribute",
[ERROR] "name" => "launch-type"
[ERROR] }': java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9990. The connection timed out

错误是什么?

1 个答案:

答案 0 :(得分:3)

确保不要将WildFly与JBoss AS混合,并且不要两次启动样本(来自Eclipse和Maven)。

WildFly快速入门是here,不要使用针对JBoss AS的旧版本。

kitchensink示例可以通过mvn wildfly:deploy部署,而不是mvn jboss-as:deploy