deploying a java application on eclipse juno using jboss 7.1.0 server

巧了我就是萌 提交于 2019-12-24 12:56:37

问题


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.

回答1:


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



来源:https://stackoverflow.com/questions/16685011/deploying-a-java-application-on-eclipse-juno-using-jboss-7-1-0-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!