使用jboss 7.1.0服务器在eclipse juno上部署一个java应用程序 [英] deploying a java application on eclipse juno using jboss 7.1.0 server

查看:556
本文介绍了使用jboss 7.1.0服务器在eclipse juno上部署一个java应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用jboss 7.1.0服务器在eclipse juno上部署一个java应用程序。
以下是我遇到的问题。请帮助我。

  532错误[org.jboss.as .server.deployment.scanner](DeploymentScanner-threads  -  1)JBAS015010:
部署扫描程序找到一个名为META-INF的目录,该目录不在名称为
的目录中,其中包含.ear,.jar, .rar,.sar或.war。这可能是直接在
C:\jboss\jboss-as-7.1.0.Final\standalone\deployments目录中解压缩归档的结果,这是一个用户错误。 META-INF
目录不会被部署扫描,但扫描仪可能会从解压缩的归档文件中找到其他文件
,并尝试部署它们,
导致错误。


532 ERROR [org.jboss.as.server.deployment.scanner](DeploymentScanner-threads - 1)JBAS015010:
部署扫描程序找到一个名为WEB-INF的目录这个目录不在名字以
结尾的目录中,包含.ear,.jar,.rar,.sar或.war。这可能是直接在
C:\jboss\jboss-as-7.1.0.Final\standalone\deployments目录中解压缩归档的结果,这是一个用户错误。 WEB-INF
目录不会扫描部署,但是扫描程序可能会从解压缩的归档文件中找到其他文件
,并尝试部署它们,从而导致错误。


解决方案

尝试删除C: \\ jboss\jboss-as-7.1.0.Final\standalone\deployments,然后重试。


I am deploying a java application on eclipse juno using jboss 7.1.0 server. Below is the problem i am encountering.Please help me with this.

532 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015010: 
The deployment scanner found a directory named META-INF that was not inside a directory whose name ends 
with .ear, .jar, .rar, .sar or .war. This is likely the result of unzipping an archive directly inside 
the C:\jboss\jboss-as-7.1.0.Final\standalone\deployments directory, which is a user error. The META-INF 
directory will not be scanned for deployments, but it is possible that the scanner mayfind other files 
from the unzipped archive and attempt to deploy them, 
leading to errors.


532 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015010: 
The deployment scanner found a directory named WEB-INF that was not inside a directory whose name ends 
with .ear, .jar, .rar, .sar or .war. This is likely the result of unzipping an archive directly inside 
the C:\jboss\jboss-as-7.1.0.Final\standalone\deployments directory, which is a user error. The WEB-INF
directory will not be scanned for deployments, but it is possible that the scanner mayfind other files 
from the unzipped archive and attempt to deploy them, leading to errors.

解决方案

try to delete all files and folders inside C:\jboss\jboss-as-7.1.0.Final\standalone\deployments and try again.

这篇关于使用jboss 7.1.0服务器在eclipse juno上部署一个java应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆