簡體   English   中英

工件部署期間出現Intellij錯誤。 博斯

[英]Intellij error during artifact deployment. Jboss

我正在嘗試在intellij上運行一個項目。 我使用的是wildfly,其配置正確,因為如果單擊“運行”,項目將正常啟動,但是如果單擊“調試”,則會出現以下錯誤。

我發現了一些與此問題有關的線程,但都沒有解決該問題。 有人可以幫忙嗎?

注意:我使用獨立完整配置啟動wildfly

謝謝

Connected to server
[2016-12-21 04:23:04,640] Artifact catix-web:war exploded: Artifact is being deployed, please wait...
16:23:04,740 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "Catix" (runtime-name: "Catix.war")
16:23:06,522 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry xercesImpl.jar in /home/ricardo/IdeaProjects/Catix/catix-web/target/Catix/WEB-INF/lib/xalan-2.6.0.jar  does not point to a valid jar for a Class-Path reference.
16:23:06,522 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry xml-apis.jar in /home/ricardo/IdeaProjects/Catix/catix-web/target/Catix/WEB-INF/lib/xalan-2.6.0.jar  does not point to a valid jar for a Class-Path reference.
16:23:06,525 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0059: Class Path entry xbean.jar in /home/ricardo/IdeaProjects/Catix/catix-web/target/Catix/WEB-INF/lib/batik-js-1.7.jar  does not point to a valid jar for a Class-Path reference.
16:23:06,583 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."Catix.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."Catix.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "Catix.war"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found
    at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:669)
    at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:274)
    at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:154)
    at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:81)
    at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:57)
    at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156)
    ... 5 more

16:23:06,585 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "Catix")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"Catix.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Catix.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"Catix.war\"
    Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}}
16:23:06,586 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0021: Deploy of deployment "Catix.war" was rolled back with the following failure message: 
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"Catix.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Catix.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"Catix.war\"
    Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}}
16:23:06,606 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment Catix (runtime-name: Catix.war) in 20ms
16:23:06,607 INFO  [org.jboss.as.controller] (management-handler-thread - 2) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."Catix.war".PARSE

[2016-12-21 04:23:06,633] Artifact catix-web:war exploded: Error during artifact deployment. See server log for details.
[2016-12-21 04:23:06,634] Artifact catix-web:war exploded: java.lang.Exception: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"Catix.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Catix.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"Catix.war\"
    Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}}

我將從您的WEB-INF / lib中刪除Xalan和Xerces JAR。 服務器應該使用自己的版本。

我將最后一條錯誤消息剪切並粘貼到Google中,並取回了

當然這是行不通的,我認為啟動腳本(“運行/調試配置”->“啟動/連接”選項卡)中的此命令既用於運行又用於調試。 事實證明,您需要顯式選擇調試並在啟動腳本中放入相同的配置。 我缺乏關注

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM