使用jboss 7.1.0服务器在eclipse juno上部署java应用程序

时间:2013-05-22 06:37:05

标签: java deployment jboss7.x

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

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.

1 个答案:

答案 0 :(得分:4)

尝试删除C:\ jboss \ jboss-as-7.1.0.Final \ standalone \ deployments中的所有文件和文件夹,然后重试。