BPMS 6.0.x causes trouble while importing Fact Types or Domain Models that are declared in form of Maven dependencies in a project's pom.xml
Issue
- It has been observed that
BPMS 6.0.x
orBRMS 6.0.x
causes trouble while importingFact Types
orDomain Models
. The dependencies are declared using thepom.xml
file ofBusiness Central
project. The dependency is pulled from the client'sMaven Nexus
. Business Central
faces issues while importing several of the fact types that are declared in the dependency. This causes the following error in the logs for these fact types.
ERROR [org.jbpm.kie.services.impl.bpmn2.BPMN2DataServiceImpl] (MSC service thread 1-1) Error: Rule Compilation error Only a type can be imported. com.sample.test.ruralfact.ClassTest resolves to a package
- Previously the same fact types were being imported into
Business Central
without any issues and the projects could be successfully built.Guided Rules
that use the fact types mentioned are still working correctly, but those fact types are shown grayed out in the types drop-down and can't be modified. The fact types in question do not show up in the list of available imports, so new rules can't be made using them. This is all done using theGuided Rules Editor
. - Sometimes the log file also reports exceptions like this frequently while building the projects in
Business Central.
[org.kie.workbench.common.services.datamodel.backend.server.cache.LRUProjectDataModelOracleCache] (Thread-76) null
- What could be the reason behind this strange issue and how to fix it?
Environment
- Red Hat JBoss BPM Suite (BPMS)
- 6.0.x
- Red Hat JBoss BRMS (BRMS)
- 6.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.