Spring Boot business applications causes "Could not read pom in jar" error on dependency of kjar during startup

Solution Verified - Updated -


There is a Spring Boot application based on the project which was generated via https://start.jbpm.org/ and the following properties are set.


After adding dependency to commons-beanutils (1.9.4.redhat-00002) below in business-application-kjar/pom.xml,


an error "Could not read pom in jar" below occurs while the Spring Boot application is launching.

[main] ERROR o.a.m.i.InJarArtifactResolver - Could not read pom in jar jar:file:/path/to/business-application-service/target/business-application-service-1.0-SNAPSHOT.jar!/BOOT-INF/classes/KIE-INF/lib/commons-beanutils-1.9.4.redhat-00002.jar!/META-INF/maven/commons-beanutils/commons-beanutils/pom.xml

Spring Boot application seems to be working even though the error appears during startup, but this error affects our error monitoring system.
Why does this error happen? Is there any way to avoid this error?


  • Red Hat Process Automation Manager
    • 7.9.1
  • Spring Boot

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