19 questions
0
votes
1
answer
114
views
Jandex indexes not built for dependent module in Quarkus Multi-Module setup with Maven in IntelliJ
I use the following versions:
Intellik: 2024.1.4
maven: built-in (3.9.6)
org.jboss.jandex: 1.2.3
Quarkus: 3.12.3
I have the following project structure:
pom.xml
|- libraries
|- pom.xml
|- ...
4
votes
0
answers
459
views
Error calling non-existent method due to different Jandex versions (JBoss vs SmallRye)
I'm facing an issue in my Java application where Hibernate (version 6.4.1.Final) attempts to call a method org.jboss.jandex.Indexer.indexWithSummary(java.io.InputStream) which is missing. The error ...
0
votes
0
answers
94
views
Jandex Maven Plugin Not Generating jandex.idx for Test Classes (v1.0.6)
I am using below Jandex Maven Plugin to create jandex.ix files for test classes.
Jandex Maven Plugin not generating the jandex.idx file for test classes. Ideally after the execution of this plugin
I ...
0
votes
1
answer
109
views
Enable Jandex index for Jetty
I went through Jetty documentation, unfortunately I failed to find a documentation on how to hook into Jetty classpath scanner and modify it to use a Jandex index instead. Therefore I'm asking for ...
0
votes
1
answer
167
views
Warning: Unable to register kotlin.Lazy for reflection using Quarkus
I have the following data class in my Kotlin code that uses Quarkus as a server side framework.
data class Location(
val id: String,
val serviceTimeInMinutes: Long,
val openingTimes: List&...
0
votes
1
answer
133
views
Can I get Helidon 2.x to use the latest Jandex versions
From
https://github.com/smallrye/jandex/issues/300
https://github.com/smallrye/jandex/issues/301
I am trying to clean up a messy Gradle-based monorepo while upgrading from Java 8 to Java 11/17. I am ...
0
votes
1
answer
1k
views
Maven jandex plugin does not generate index for local custom maven repositories (sometimes)
I have a multi module maven project wie quarkus modules and some custom libraries which are local maven repositories (so they can be used by the other maven projects/modules). However, so that local ...
1
vote
2
answers
287
views
Open Liberty application server and jandex version
I want to improve the startup time of my Open Liberty application using Jandex, as described in https://www.ibm.com/support/pages/node/745421 and https://www.ibm.com/support/pages/using-jandex-ibm-...
3
votes
1
answer
1k
views
CDI with Weld in Java SE, jakarta namespace, NoSuchMethodError
For a trivial app using CDI in Java SE with jakarta namespace I can not get rid of this NoSuchMethodError during SeContainerInitializer.newInstance().initialize():
Caused by: java.lang....
1
vote
1
answer
830
views
Multiple jandex maven plugin (JBoss vs SmallRye)
I use Weld on a Java SE application, and I was wondering if generate the Jandex index at build with a plugin will improve the startup.
For now, I didn't notice a performance improvement.
But i found 2 ...
0
votes
1
answer
2k
views
Problem with the upgrade of quarkus app from the 2.6.3.Final (last working version) to the 2.8.2.Final version - maybe external module beans' lookup
Situation: I have a Quarkus application which uses another quarkus application's beans (added as a maven dependency) for RESTEASY calls to some HTTP rest service. After updating Quarkus 2.6.3.Final to ...
1
vote
2
answers
463
views
Build error - jandex index not found for java.time.OffsetDateTime
I have a multi-module Maven project that uses Quarkus and Kogito, with MongoDb persistence. The module with the Kogito process definition is using beans from another module. One of the beans has a ...
0
votes
1
answer
657
views
Quarkus + Kogito build error: java.lang.IllegalStateException: Cannot find class info in jandex index for java.time.LocalDateTime
I have a multi-module Maven project that uses Quarkus and Kogito, with MongoDb persistence.
The module with the Kogito process definition is using beans from another module.
One of the beans has a ...
0
votes
0
answers
613
views
Quarkus: Using Gradle Jandex Plugin vs beans.xml descriptor to discover beans
We have a large multi-module legacy project that we migrated to Quarkus. So far we used Jandex in all modules that define beans. Since Gradle 7.3.3 we have the log full of warnings complaining about ...
2
votes
2
answers
7k
views
Quarkus throws org.jboss.jandex.UnsupportedVersion: Version: 10 during tests
We have some Quarkus service that depends on a module that has a Jandex index in it.
Now when we run a test that has @QuarkusTest annotation in it we get the error:
org.jboss.jandex.UnsupportedVersion:...
2
votes
0
answers
1k
views
quarkus-maven-plugin reports: [WARNING] [io.quarkus.arc.processor.BeanArchives] Failed to index
I'm trying to setup a legacy (jboss-eap) project on quarkus
I cannot find a maven dependency to CXF but I know its a "provided" dependency in one of my common-libs since CXF is offered by ...
0
votes
1
answer
1k
views
quarkus - javax.persistence.AttributeConverter not in jandex index
I have a problem that seems to be very similar to How to create a Jandex index in Quarkus for classes in a external module and I carefully followed all suggested steps (jandex maven plugin, empty ...
3
votes
0
answers
538
views
Quarkus Gradle multimodule build and Jandex
I am migrating a Java EE project to Quarkus, but are having problems with the Quarkus build and jandex
I have created a submodule for Quarkus similar to:
apply plugin: 'io.quarkus'
dependencies {
...
0
votes
1
answer
638
views
How to automatically register all available interface implementations in Quarkus?
I'm trying to adapt a library to be usable in Quarkus native mode. Since it's reflection-heavy, I need to manually register all implementations of certain interfaces.
What I've done so far and which ...