这是我在pom.xml中的插件信息
<plugin>
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId>
<version>7.0.2.Final</version>
</plugin>我已经在/jboss文件夹(Mac )下的笔记本电脑上下载了jboss 7.0.2,尽管我能够作为Eclipse上的本地服务器运行我的项目,我想尝试使用mvn AS :deploy。
它给出了这样的错误:
[INFO] --- jboss-as-maven-plugin:7.0.2.Final:deploy (default-cli) @ propertyfinder ---
[INFO] Executing goal deploy on server localhost (127.0.0.1) port 9999.
Apr 3, 2014 2:08:50 AM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 3.2.0.Beta2
Apr 3, 2014 2:08:50 AM org.xnio.Xnio <clinit>
INFO: XNIO Version 3.0.0.Beta2
Apr 3, 2014 2:08:50 AM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.0.0.Beta2
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.446s
[INFO] Finished at: Thu Apr 03 02:08:55 EDT 2014
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.0.2.Final:deploy (default-cli) on project propertyfinder: Could not execute goal deploy on propertyfinder.war. Reason: Could not connect to remote://localhost:9999 in 5000ms. Make sure the server is running and/or consider setting a longer timeout by setting -Dorg.jboss.as.client.connect.timeout=<timeout in ms>. -> [Help 1]任何帮助都是非常感谢的。
发布于 2014-04-03 18:54:07
如果你是从JBOSS开始的。在启动JBOSS应用服务器之前。添加管理用户
http://localhost:9990/console快速验证服务器是否已启动。https://stackoverflow.com/questions/22829403
复制相似问题