aldettinger commented on PR #165:
URL: 
https://github.com/apache/camel-quarkus-examples/pull/165#issuecomment-1757409645

   When executing `mvn clean compile quarkus:dev`, There is a WARN log:
   
   ```
   
================================================================================
   CDI: programmatic lookup problem detected
   -----------------------------------------
   At least one bean matched the required type and qualifiers but was marked as 
unused and removed during build
   
   Stack frame: 
io.quarkus.arc.runtime.BeanContainerImpl.beanInstanceFactory(BeanContainerImpl.java:26)
   Required type: class 
org.apache.camel.component.servlet.CamelHttpTransportServlet
   Required qualifiers: [@jakarta.enterprise.inject.Default()]
   Removed beans:
        - CLASS bean  [types=[class org.apache.camel.http.common.CamelServlet, 
class jakarta.servlet.http.HttpServlet, class jakarta.servlet.GenericServlet, 
class org.apache.camel.component.servlet.CamelHttpTransportServlet, interface 
jakarta.servlet.Servlet, interface java.io.Serializable, interface 
org.apache.camel.http.common.HttpRegistryProvider, interface 
jakarta.servlet.ServletConfig], qualifiers=null]
   Solutions:
        - Application developers can eliminate false positives via the 
@Unremovable annotation
        - Extensions can eliminate false positives via build items, e.g. using 
the UnremovableBeanBuildItem
        - See also https://quarkus.io/guides/cdi-reference#remove_unused_beans
        - Enable the DEBUG log level to see the full stack trace
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to