quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.78k stars 2.68k forks source link

indexing problems with some extensions? #38716

Open ymajoros opened 9 months ago

ymajoros commented 9 months ago

Discussed in https://github.com/quarkusio/quarkus/discussions/38601

Originally posted by **ymajoros** February 6, 2024 Hello, I recently migrated our main application to Quarkus. It does work quite well, but I'm wondering why I have a bunch of indexing problems (at build time & at runtime), for classes I don't really use and should in any case be handled by the extensions themselves. From the output, it seems that the problems come from JaxbProcessor/JaxrsClientReactiveProcessor. ``` 2024-02-06 11:16:11,378 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index org.infinispan.manager.EmbeddedCacheManager: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,379 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index org.infinispan.Cache: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,379 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index com.mongodb.client.MongoDatabase: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,380 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index com.mongodb.MongoClient: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,381 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index com.mongodb.client.MongoCollection: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,406 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index com.mongodb.DBObject: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,443 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.XAConnection: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,443 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.XASession: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,444 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.XAConnectionFactory: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,476 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.Connection: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,489 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index org.apache.activemq.artemis.core.journal.Journal: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,493 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.Session: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,495 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.ExceptionListener: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,496 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.ConnectionMetaData: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,503 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index io.mashona.logwriting.ArrayStore: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,505 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.BytesMessage: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,506 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.MapMessage: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,506 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.Message: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,506 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.ObjectMessage: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,507 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.StreamMessage: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,507 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.TemporaryQueue: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,508 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.TemporaryTopic: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,508 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.TextMessage: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,509 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index jakarta.jms.MessageListener: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,512 WARN [io.qua.arc.pro.BeanArchives] (build-13) Failed to index org.apache.activemq.artemis.core.journal.RecordInfo: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader: TEST for BankTransactionProblemsTest (QuarkusTest)@1caa9eb6 2024-02-06 11:16:11,519 WARN [io.qua.dep.ste.ReflectiveHierarchyStep] (build-13) Unable to properly register the hierarchy of the following classes for reflection as they are not in the Jandex index: - com.mongodb.DBObject (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - com.mongodb.MongoClient (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - com.mongodb.client.MongoCollection (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - com.mongodb.client.MongoDatabase (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - com.sun.istack.FinalArrayList (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - com.sun.istack.Pool (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - com.sun.xml.fastinfoset.stax.StAXDocumentSerializer (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - io.mashona.logwriting.ArrayStore (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - io.netty.buffer.ByteBuf (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - io.netty.buffer.ByteBufAllocator (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - io.netty.buffer.CompositeByteBuf (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - io.quarkus.vertx.http.runtime.VertxInputStream (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - io.vertx.core.http.HttpServerRequest (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - io.vertx.core.http.HttpServerResponse (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - io.vertx.ext.web.RoutingContext (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - jakarta.jms.BytesMessage (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.Connection (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.ConnectionMetaData (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.ExceptionListener (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.MapMessage (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.Message (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.MessageListener (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.ObjectMessage (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.Session (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.StreamMessage (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.TemporaryQueue (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.TemporaryTopic (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.TextMessage (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.XAConnection (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.XAConnectionFactory (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jms.XASession (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - jakarta.jws.WebService (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - jakarta.validation.Validator (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.crypto.Cipher (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.crypto.SecretKey (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.net.ssl.HostnameVerifier (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.net.ssl.KeyManager (sources: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference, JaxbProcessor > org.apache.cxf.configuration.security.TLSClientParametersType, JaxbProcessor > org.apache.cxf.configuration.security.TLSServerParametersType) - javax.net.ssl.SSLContext (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.net.ssl.SSLSocketFactory (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.net.ssl.TrustManager (sources: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference, JaxbProcessor > org.apache.cxf.configuration.security.TLSClientParametersType, JaxbProcessor > org.apache.cxf.configuration.security.TLSServerParametersType) - javax.security.auth.Subject (source: JaxbProcessor > org.apache.cxf.configuration.security.AuthorizationPolicy) - javax.security.auth.login.Configuration (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.namespace.NamespaceContext (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.namespace.QName (sources: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference, JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference$Address, JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference$Elements, JaxbProcessor > org.apache.cxf.bindings.xformat.XMLBindingMessageFormat, JaxbProcessor > org.apache.cxf.bindings.xformat.XMLFormatBinding, JaxbProcessor > org.apache.cxf.jaxws.handler.jakartaee.XsdQNameType, JaxbProcessor > org.apache.cxf.jaxws.handler.types.XsdQNameType, JaxbProcessor > org.apache.cxf.transports.http.configuration.HTTPClientPolicy, JaxbProcessor > org.apache.cxf.transports.http.configuration.HTTPServerPolicy, JaxbProcessor > org.apache.cxf.ws.addressing.AttributedAnyType, JaxbProcessor > org.apache.cxf.ws.addressing.AttributedQNameType, JaxbProcessor > org.apache.cxf.ws.addressing.AttributedURIType, JaxbProcessor > org.apache.cxf.ws.addressing.AttributedUnsignedLongType, JaxbProcessor > org.apache.cxf.ws.addressing.EndpointReferenceType, JaxbProcessor > org.apache.cxf.ws.addressing.MetadataType, JaxbProcessor > org.apache.cxf.ws.addressing.ProblemActionType, JaxbProcessor > org.apache.cxf.ws.addressing.ReferenceParametersType, JaxbProcessor > org.apache.cxf.ws.addressing.RelatesToType, JaxbProcessor > org.apache.cxf.ws.addressing.v200403.AttributedQName, JaxbProcessor > org.apache.cxf.ws.addressing.v200403.AttributedURI, JaxbProcessor > org.apache.cxf.ws.addressing.v200403.EndpointReferenceType, JaxbProcessor > org.apache.cxf.ws.addressing.v200403.Relationship, JaxbProcessor > org.apache.cxf.ws.addressing.v200403.ReplyAfterType, JaxbProcessor > org.apache.cxf.ws.addressing.v200403.ServiceNameType, JaxbProcessor > org.apache.cxf.ws.addressing.v200408.AttributedQName, JaxbProcessor > org.apache.cxf.ws.addressing.v200408.AttributedURI, JaxbProcessor > org.apache.cxf.ws.addressing.v200408.EndpointReferenceType, JaxbProcessor > org.apache.cxf.ws.addressing.v200408.Relationship, JaxbProcessor > org.apache.cxf.ws.addressing.v200408.ReplyAfterType, JaxbProcessor > org.apache.cxf.ws.addressing.v200408.ServiceNameType, JaxbProcessor > org.apache.cxf.ws.addressing.wsdl.Anonymous, JaxbProcessor > org.apache.cxf.ws.addressing.wsdl.AttributedQNameType, JaxbProcessor > org.apache.cxf.ws.addressing.wsdl.ServiceNameType, JaxbProcessor > org.apache.cxf.ws.addressing.wsdl.UsingAddressing, JaxbProcessor > org.apache.cxf.ws.policy.v200409.AppliesTo, JaxbProcessor > org.apache.cxf.ws.policy.v200409.Policy, JaxbProcessor > org.apache.cxf.ws.policy.v200409.PolicyAttachment, JaxbProcessor > org.apache.cxf.ws.policy.v200409.PolicyReference, JaxbProcessor > org.apache.cxf.ws.policy.v200607.AppliesTo, JaxbProcessor > org.apache.cxf.ws.policy.v200607.Policy, JaxbProcessor > org.apache.cxf.ws.policy.v200607.PolicyAttachment, JaxbProcessor > org.apache.cxf.ws.policy.v200607.PolicyReference, JaxbProcessor > org.apache.cxf.ws.policy.v200607.URI, JaxbProcessor > org.apache.cxf.wsdl.http.AddressType, JaxbProcessor > org.apache.cxf.wsdl.http.BindingType, JaxbProcessor > org.apache.cxf.wsdl.http.OperationType) - javax.xml.parsers.DocumentBuilder (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.stream.Location (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.stream.XMLEventFactory (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.stream.XMLEventWriter (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.stream.XMLStreamReader (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.stream.XMLStreamWriter (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.stream.events.Characters (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.stream.events.XMLEvent (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.transform.ErrorListener (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.transform.Source (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.transform.Templates (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.transform.Transformer (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.transform.TransformerFactory (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.transform.URIResolver (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.transform.dom.DOMResult (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.transform.dom.DOMSource (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.transform.sax.SAXSource (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.validation.Schema (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - javax.xml.validation.ValidatorHandler (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.apache.activemq.artemis.core.journal.Journal (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - org.apache.activemq.artemis.core.journal.RecordInfo (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - org.apache.ws.commons.schema.XmlSchema (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.apache.ws.commons.schema.XmlSchemaAnnotated (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.apache.ws.commons.schema.XmlSchemaCollection (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.apache.ws.commons.schema.XmlSchemaType (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.apache.ws.commons.schema.extensions.ExtensionRegistry (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.apache.ws.commons.schema.utils.NamespacePrefixList (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.ietf.jgss.Oid (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.infinispan.Cache (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - org.infinispan.manager.EmbeddedCacheManager (source: JaxrsClientReactiveProcessor > org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController[org.somecompany.domain.api.entity.WsThirdPartyEntitySubresourceController getThirdPartyEntitySubresource()]) - org.jvnet.mimepull.MIMEMessage (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.jvnet.mimepull.MIMEPart (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.jvnet.staxex.BinaryText (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.jvnet.staxex.NamespaceContextEx (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.jvnet.staxex.NamespaceContextEx$Binding (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.jvnet.staxex.XMLStreamWriterEx (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter$Breakpoint (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.springframework.context.ApplicationContext (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.springframework.context.support.AbstractApplicationContext (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.w3c.dom.Attr (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.w3c.dom.DOMConfiguration (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.w3c.dom.DOMImplementation (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.w3c.dom.Document (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.w3c.dom.DocumentFragment (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.w3c.dom.DocumentType (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.w3c.dom.Element (sources: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference, JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference$Elements) - org.w3c.dom.NamedNodeMap (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.w3c.dom.Node (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.w3c.dom.NodeList (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.w3c.dom.TypeInfo (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.Attributes (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.ContentHandler (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.DTDHandler (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.EntityResolver (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.ErrorHandler (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.Locator (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.XMLFilter (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.XMLReader (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.ext.LexicalHandler (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.helpers.AttributesImpl (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.helpers.DefaultHandler (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) - org.xml.sax.helpers.XMLFilterImpl (source: JaxbProcessor > jakarta.xml.ws.wsaddressing.W3CEndpointReference) Consider adding them to the index either by creating a Jandex index for your dependency via the Maven plugin, an empty META-INF/beans.xml or quarkus.index-dependency properties. ``` I didn't configure anything specific for indexing external libraries. I added my dependency tree here if it helps: https://github.com/quarkusio/quarkus/discussions/38601 Am I doing something wrong?
melloware commented 9 months ago

Just from glancing it looks like its telling you whats wrong org.somecompany.domain.api.accounting.WsAccountingDataSubResourceController is not registered for reflection. You need to add @RegisterForReflection to your MongoDB classes.

ymajoros commented 9 months ago

The thing is, I don't use mongodb at all. It seems to be referenced in hibernate itself as an optional dependency, but we don't use that. I would assume that this optional dependency is handled by the Quarkus hibernate extension, if needed.

There seems to be something similar happening with jax-ws (soap client), which I do use, but I'd expect Quarkus cxf to handle that.

melloware commented 9 months ago

Maybe I am not seeing it but I just looked at your mvn dependency tree and I don't see MogoDB anywhere at all?

ymajoros commented 8 months ago

Maybe I am not seeing it but I just looked at your mvn dependency tree and I don't see MogoDB anywhere at all?

Yes, that's what I mean. Hibernate seems to reference some classes of MongoDB but has no explicit dependency on it.

ymajoros commented 8 months ago

Can anyone help me on this?