Unable to use data model in the maven dependency jar using classifier in Business Central.

Solution Verified - Updated -

Issue

When setting maven dependency with maven classifier for external jar in pom.xml of the project, rule editors, such as DRL editor, are not able to use the classes in the jar with an error like "Unable to resolve ObjectType" and "Error importing: ...".

 <dependency>
    <groupId>com.example</groupId>
    <artifactId>reports</artifactId>
    <classifier>test</classifier>
    <version>1.1.0</version>
 </dependency>

Environment

  • Red Hat Decision Manager
    • 7
  • Red Hat Process Automation Manager
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content