簡體   English   中英

無法在 http://localhost:8080/business-central 上啟動 jbpm

[英]Cannot start jbpm on http://localhost:8080/business-central

我是一名試圖學習jbpm的學生。 老師不會幫助我,所以這是我唯一的希望。

我已安裝 java 13. 服務器啟動,但出現一些錯誤。 在我輸入“ http://localhost:8080/business-central ”后,我得到一個錯誤 404。這只是日志的錯誤(最后)部分,因為整個事情有超過 40 000 個字符,我只允許 30 000 這里:

18:32:14,470 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "business-central.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"business-central.war\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"business-central.war\"
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.classfilewriter.ClassFile"}}
18:32:14,472 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "jbpm-casemgmt.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"jbpm-casemgmt.war\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"jbpm-casemgmt.war\"
    Caused by: java.lang.Error: java.lang.NoSuchFieldException: override
    Caused by: java.lang.NoSuchFieldException: override"}}
18:32:14,473 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "kie-server.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"kie-server.war\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"kie-server.war\"
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jboss.classfilewriter.ClassFile"}}
18:32:14,506 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "kie-server.war" (runtime-name : "kie-server.war")
18:32:14,506 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "jbpm-casemgmt.war" (runtime-name : "jbpm-casemgmt.war")
18:32:14,508 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "business-central.war" (runtime-name : "business-central.war")
18:32:14,509 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."jbpm-casemgmt.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "jbpm-casemgmt.war"
      service jboss.deployment.unit."kie-server.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "kie-server.war"
      service jboss.deployment.unit."business-central.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "business-central.war"

18:32:14,757 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
18:32:14,760 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
18:32:14,760 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
18:32:14,761 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 14.0.1.Final (WildFly Core 6.0.2.Final) started (with errors) in 128590ms - Started 392 of 617 services (3 services failed or missing dependencies, 344 services are lazy, passive or on-demand)
  1. 請按照以下鏈接中的說明進行操作。
  2. 使用 H2 數據庫。
  3. 請創建環境變量 JAVA_HOME=C:\Program Files\AdoptOpenJDK\jdk-8.0.202.08 和 PATH=%JAVA_HOME%\bin (使用 Java 8)
  4. 請將以下條目插入到 JBoss_EAP_Home\standalone\configuration 下的standalone-full.xml

 <system-properties> <property name="org.kie.example" value="true"/> <property name="org.jbpm.designer.perspective" value="full"/> <property name="designerdataobjects" value="false"/> <property name="org.kie.workbench.profile" value="FORCE_FULL"/> <property name="org.kie.server.location" value="http://localhost:8080/kie-server/services/rest/server"/> <property name="org.kie.server.controller" value="http://localhost:8080/business-central/rest/controller"/> <property name="org.kie.server.controller.user" value="<username>"/> <property name="org.kie.server.controller.pwd" value="<password>"/> <property name="org.kie.server.user" value="<username>"/> <property name="org.kie.server.pwd" value="<password>"/> <property name="org.kie.server.id" value="default-kieserver"/> <property name="org.kie.server.persistence.ds" value="java:jboss/datasources/ExampleDS"/> <property name="org.kie.server.persistence.dialect" value="org.hibernate.dialect.H2Dialect"/> </system-properties>

https://access.redhat.com/documentation/en-us/red_hat_process_automation_manager/7.6/html/installing_and_configuring_red_hat_process_automation_manager_on_red_hat_jboss_eap_7.2/assembly_installing-on-eap-deployable#eap_execution_server_configure

這必須解決問題。

降級到 OpenJDK 11 有所幫助。 以前我使用的是 OpenJDK 13

暫無
暫無

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

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