Não é possível implementar porque a pasta não estava dentro de um diretório cujo nome termina .war. (JBoss)

2

Eu criei um Projeto JSF padrão usando o Maven2Eclipse.

Quando tento iniciar o home.xhtml, o JBoss retorna a seguinte mensagem de erro:

    (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.

Eu tentei substituir minha edição my standalone.xml por esta

<deployment-scanner scan-interval="5000" relative-to="jboss.server.base.dir"
   path="deployments" auto-deploy-zipped="true" auto-deploy-exploded="false"/>

O messsge ainda aparece.

Eu não tenho esse problema quando implantei um projeto html simples.

    
por Goot 24.12.2012 / 09:58

0 respostas