Search code examples
javaspring-bootapache-cameljboss-eap-7

Error while starting JBoss - Could not read provided index: /content/<<warFile>>r/WEB-INF/lib/camel-api-3.0.1.jar/META-INF/jandex.idx


In our project, we are using Spring Boot 2.2.4 and Apache Camel 3.0.1 and deploying the application as a war file in JBoss EAP 7.2.0. I am getting the following error while deploying the application in JBoss

2020-03-11 20:35:59,822 ERROR [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0002: Could not read provided index: /content/<<war-file-name>>/WEB-INF/lib/camel-api-3.0.1.jar/META-INF/jandex.idx

Similarly I am getting error on other jandex.idx files in other locations. Can anyone please guide me what should be done here?


Solution

  • I got the same issue with JBOSS EAP 7.2.3. To quickly test a newer JBOSS EAP version I installed the current wildfly version (wildfly-20.0.1.Final). With it the problem is solved. So, updating to a JBOSS EAP 7.3.0 or newer will solve this problem.