Open Edition

 View Only

 Error while deploying a sample app on quarkus

Prasad Kulkarni's profile image
Prasad Kulkarni posted Mon April 07, 2025 06:19 PM

HI Everyone !

Greetings of the day !

Question 1 :- 

I have follows all the steps provided on IBM website to create a sample application. Which includes  DRL file and data object class.
I have set up the local maven repository.

1) mvn clean install :-  Build is success.

2) mvn quarkus:dev    :-   Build success but I am getting  warning as below

" [WARNING] Skipping quarkus:dev as this is assumed to be a support library. To disable this warning set warnIfBuildGoalMissing parameter to false.
To enable quarkus:dev for this module, make sure the quarkus-maven-plugin configuration includes the build goal or disable the enforceBuildGoal flag (via plugin configuration or via -Dquarkus.enforceBuildGoal=false). " 

3)  Hence I tried  ,  mvn quarkus:dev -Dquarkus.http.port=8085 -Dquarkus.enforceBuildGoal=false
      However I started getting different error .

       " org.jboss.jandex.UnsupportedVersion: Can't read Jandex index from /META-INF/jandex.idx: Can't read index version 12; this IndexReader only supports index versions 2-3,6-11 "

     Below are the  quarkus and Jandex dependencies.

        <quarkus.plugin.version>3.8.6</quarkus.plugin.version>
        <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
        <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
        <quarkus.platform.version>3.8.6</quarkus.platform.version>

         <jandex-plugin.version>3.2.3</jandex-plugin.version>

Note :- Build goal is already added in pom for jandex plugin.

 Can you advice me how can I deploy this .     

Question 2 :- 

Is there any way I can deploy the canvas on JBoss EAP 7.4 or Any wildfly version .  If any one has an idea can you please guide. 


Thanks In advance !

Barry Lulas's profile image
Barry Lulas

Question #1:  You can use my BAMOE Maven Archetypes in order to generate a fully compliant, BAMOE v9.2.0 (latest version) Maven project for use with DRL and DMN.  The Maven Archetypes repository includes archetypes for DMOE v9, PAMOE v9, DMOE v8, PAMOE v8, and reusable Fact Models.  For DMOE v9.2.0 the Quarkus version is:  3.15.3.  Be sure to use the bamoe-bom for importing Maven libraries properly.   I have attached a sample pom.xml, all you really need to do is add your DRL files to src/main/resources.  Not sure why you are using the jandex plugin, there is no reason to use that, follow the sample pom.xml I have attached or run the archetype and generate a new project structure.

Question #2: No, Canvas requires a container engine, such as Podman, Docker, Kubernetes, or OpenShift, it does not need or run via an application server.  I personally use Rancher Desktop in Docker mode on my IBM laptop, works great!  There are three images associated with Canvas and they all must be deployed to a container engine.  You can use my BAMOE Setup repository in order to properly get Canvas setup on your local machine, and there are plenty of setup instructions in the repository README files.  BAMOE v9 is not based on application servers anymore, everything is containers or running as standalone Quarkus/Spring Boot applications.  

Attachment  View in library
pom.xml 5 KB