Problems with Eclipse Luna - проблемы с Эклипсом Луна (буду рад ответам на русском))))
dima_kononov Oct 31, 2014 3:00 AMIf I deploy my project in Eclipse Luna on Wildfly, I see thist message:
09:57:00,141 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final
09:57:00,685 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final
09:57:00,795 INFO [org.jboss.as] (MSC service thread 1-4) JBAS015899: WildFly 8.1.0.Final "Kenny" starting
09:57:03,687 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment JsfDemo.war
09:57:03,718 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found JsfDemo.war in deployment directory. To trigger deployment create a file called JsfDemo.war.dodeploy
09:57:03,727 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment JsfDemo.war
09:57:03,755 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found JsfDemo.war in deployment directory. To trigger deployment create a file called JsfDemo.war.dodeploy
09:57:03,765 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 12) JBAS014613: Operation ("add") failed - address: ([("deployment" => "JsfDemo.war")]) - failure description: "JBAS014803: Duplicate resource [(\"deployment\" => \"JsfDemo.war\")]"
09:57:03,767 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) "JBAS014784: Failed executing subsystem deployment-scanner boot operations"
09:57:03,771 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("parallel-subsystem-boot") failed - address: ([]) - failure description: "\"JBAS014784: Failed executing subsystem deployment-scanner boot operations\""
09:57:03,776 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
09:57:03,820 INFO [org.jboss.as] (MSC service thread 1-1) JBAS015950: WildFly 8.1.0.Final "Kenny" stopped in 6ms
I stop Wildfly, delete content from .../standalone/deployments/ and run Wildfly, Wildfly start, but I cant't open my project. I "clean" Wildfly server in Eclipse and and only after that the my project opens. Whot I do wrong?
А теперь на русском:
Нажимаю правой кнопкой мыши на проект в проводнике Эклипса, выбираю пункт run as -> Wildfly, в логах пишется всякая фигня (см. выше).
Всё начинает нормально работать только после того, как я очищаю папку .../standalone/deployments/ , перезапускаю приложение, выбираю в списке серверов Wildfly, жму ПКМ, выбираю пункт "clean". Что я делаю неправильно?