繁体   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