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,
<dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>1.9.4.redhat-00002</version> </dependency>
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
- Spring Boot
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.