Я создал проект JSF по умолчанию, используя Maven2Eclipse.
Когда я пытаюсь запустить home.xhtml, JBoss возвращает следующее сообщение об ошибке:
(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:\Users\Foo\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.
09:43:57,387 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:\Users\Foo\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.
Я попытался заменить мой файл standalone.xml этим
<deployment-scanner scan-interval="5000" relative-to="jboss.server.base.dir"
path="deployments" auto-deploy-zipped="true" auto-deploy-exploded="false"/>
Сообщение по-прежнему появляется.
У меня нет этой проблемы, когда я развертываю простой html-проект.