Warning ACC_MODULE flag when publishing process

Solution Verified - Updated -

Issue

  • When kie-server starts the processes the following message is logged:

    Failed to define class .module-info in Module "deployment.kie-server.war" from Service Module Loader: java.lang.NoClassDefFoundError: Failed to link /module-info (Module "deployment.kie-server.war" from Service Module Loader): /module-info is not a class because access_flag ACC_MODULE is set  
    
  • Every time the process with the following dependencies in the pom.xml is started, we can see message: module-info is not a class because access_flag ACC_MODULE is set:

    ...
        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
            <version>2.1</version>
        </dependency>
    
        <dependency>
            <groupId>javax.xml.ws</groupId>
            <artifactId>jaxws-api</artifactId>
            <version>2.3.1</version>
        </dependency>
    

Environment

  • Red Hat Process Automation Manager (RHPAM) 7.11
  • OpenJDK 11

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