Warning message "It is advised to have a correspondance between package and folder names"

Solution Verified - Updated -

Issue

  • After we upgraded from Decision Manager (DM) / drools 6.x to drools 7.x , we start seeing such warning messages when compiling the rules and deploying the kjar:

    2020-07-17 11:39:14,820 WARN  [org.drools.compiler.kie.builder.impl.KieBuilderImpl] (default task-1) File 'rules/abc/common.drl' is in folder 'rules/abc' but declares package 'com.company.rules.abc.common'. It is advised to have a correspondence between package and folder names.
    

Environment

  • Red Hat Process Automation Manager (RHPAM)
    • 7
  • Red Hat Decision Manager (RHDM)
    • 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