我有一个与非常相似的问题,我仔细地遵循了所有建议的步骤(jandex maven插件、空beans.xml、索引其他依赖项)。io.quarkus.deployment.configuration.ConfigurationError: Unable to properly register the hierarchy of the following JPA classes as they are not in the Jandex
我有一个依赖项,它使用jandex插件进行索引,如Guilhaume对这个问题的解释:
它运行得很好,然后我决定使用扩展hibernate-orm-panache.一旦我将它添加到pom中,我就会得到折叠错误java.lang.IllegalStateException: io.quarkus.builder.BuildException: Build failure: The class java.lang.Enum is not inside the JandexCaused by: io.quarkus.builder.BuildException:
Unable to properly register the hierarchy of the following classes for reflection as they are not in the Jandexjavax.persistence.criteria.RootConsider adding them to the index either by creating a Jandexexclude(module: 'activation'
Error while generating proto for model class com.example.PrcessInputBean Cannot find class info in jandexCaused by: java.lang.IllegalStateException: Cannot find class info in jandex index for java.time.LocalDateTime如何将Jandex配置为索引java.time.LocalDateTime并消除此错误?
return new ResteasyJaxrsProviderBuildItem(RequestInterceptor.class.getName());} <groupId>org.jboss.jandex</groupId>
<artifactId>jandex-maven-plugin<id>make-index</
org.jboss.jandex.Indexer.processConstantPool(Indexer.java:606) jandex-1.0.3.Final-redhat-2.jar:1.0.3.Final-redhat-2 at org.jboss.jandex.Indexer.index(Indexer.java:640) jandex-1.0.3.Final-redhat-2.jar:1.0.3
org.jboss.jandex.Indexer.processConstantPool(Indexer.java:1416) at org.jboss.jandex.Indexer.index(Indexer.java它使用JBoss的jandex-2.0.2,from 1.jar作为相同的,它来自eap的依赖信息-运行时-工件-7.0.5.GA.pom。提前谢谢。
经过一些尝试,我发现并不是所有的bean都被发现了,所以我试着遵循这个指南并创建一个jandex索引。part of the same project may not always be resolvable, in this case you should generate a META-INF/jandex.idxfile instead using the Jandex Maven plugin.file instead using the Jandex Maven plugin.] Class for n