Business central compilation errors

42 views
Skip to first unread message

Oana Atasie

unread,
Mar 12, 2024, 3:09:43 AM3/12/24
to Drools Setup
Hello,

We tried to start Business Central Workbench locally. For this we tried to compile the following projects in order with mvn clean install -DskipTests:
  • lienzo-core
  • droolsjbpm-build-bootstrap
  • kie-soup
  • droolsjbpm-knowledge
  • drools
  • lienzo-tests
  • appformer
  • kie-uberfire-extensions
  • jbpm
  • droolsjbpm-integration
  • kie-wb-playground
  • kie-wb-common
  • drools-wb
  • jbpm-work-items
  • jbpm-wb
  • kie-wb-distributions
The problem is that in appformer (and in the following projects that use gwt-maven-plugin) we have the following errors:
[INFO]    Computing all possible rebind results for 'org.uberfire.client.views.pfly.sys.PatternFlyClientBundle'
[INFO]       Rebinding org.uberfire.client.views.pfly.sys.PatternFlyClientBundle
[INFO]          Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
[INFO]             Creating assignment for monacoEditor()
[INFO]                Finding resources
[INFO]                   [ERROR] Resource org/uberfire/client/views/static/appformer-js-monaco/monaco.min.js not found. Is the name specified as ClassLoader.getResource() would expect?
[INFO]    [ERROR] Errors in 'org/uberfire/client/views/pfly/sys/PatternFlyClientBundle.java'
[INFO]       [ERROR] Line 25: Failed to resolve 'org.uberfire.client.views.pfly.sys.PatternFlyClientBundle' via deferred binding
[INFO]    [WARN] For the following type(s), generated source was never committed (did you forget to call commit()?)
[INFO]       [WARN] org.uberfire.client.views.pfly.sys.PatternFlyClientBundle_default_InlineClientBundleGenerator

 [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.9.0:compile (gwt-compile) on project uberfire-webapp: Command failed with status 1 -> [Help 1]
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.9.0:compile (gwt-compile) on project dashbuilder-runtime: Command failed with status 1 -> [Help 1]
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.9.0:compile (gwt-compile) on project dashbuilder-webapp: Command failed with status 1 -> [Help 1]

We also tried to use the no-showcase profile for this, but in the war generated at the end we ended up missing the directory org.kie.bc.KIEWebapp (which seems to be related to gwt), and the workbench does not loads after login.

Do you have any idea how the errors with gwt could be solved or what are the other reasons for missing org.kie.bc.KIEWebapp?
Reply all
Reply to author
Forward
0 new messages