org.apache.webbeans.exception.inject.DeploymentException: org.apache.webbeans.exception.WebBeansConfigurationException: Producer annotated method : Annotated Method 'produceBookingRequestBuilder', Base Type : class de.itso.mdbp.service.BookingRequestBuilder,Type Closures : null,Annotations : [@javax.inject.Inject(), @de.itso.mdbp.web.qualifier.BookingRequestBuilderInConversation(), @javax.enterprise.context.ConversationScoped(), @javax.enterprise.inject.Produces()],Java Member Name : produceBookingRequestBuilder,Annotated Parameters : [Annotated Parameter,Base Type : interface javax.enterprise.context.Conversation,Type Closures : null,Annotations : [],Position : 0] can not be annotated with @Initializer/@Destructor annotation or has a parameter annotated with @Disposes/@Observes

openwebbeans-user | Romain Manni-Bucau | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Weird CDI error with OpenEJB deployment

    openwebbeans-user | 3 years ago | Rene Perschon
    org.apache.webbeans.exception.inject.DeploymentException: org.apache.webbeans.exception.WebBeansConfigurationException: Producer annotated method : Annotated Method 'produceBookingRequestBuilder', Base Type : class de.itso.mdbp.service.BookingRequestBuilder,Type Closures : null,Annotations : [@javax.inject.Inject(), @de.itso.mdbp.web.qualifier.BookingRequestBuilderInConversation(), @javax.enterprise.context.ConversationScoped(), @javax.enterprise.inject.Produces()],Java Member Name : produceBookingRequestBuilder,Annotated Parameters : [Annotated Parameter,Base Type : interface javax.enterprise.context.Conversation,Type Closures : null,Annotations : [],Position : 0] can not be annotated with @Initializer/@Destructor annotation or has a parameter annotated with @Disposes/@Observes
  2. 0

    Re: Weird CDI error with OpenEJB deployment

    openwebbeans-user | 3 years ago | Romain Manni-Bucau
    org.apache.webbeans.exception.inject.DeploymentException: org.apache.webbeans.exception.WebBeansConfigurationException: Producer annotated method : Annotated Method 'produceBookingRequestBuilder', Base Type : class de.itso.mdbp.service.BookingRequestBuilder,Type Closures : null,Annotations : [@javax.inject.Inject(), @de.itso.mdbp.web.qualifier.BookingRequestBuilderInConversation(), @javax.enterprise.context.ConversationScoped(), @javax.enterprise.inject.Produces()],Java Member Name : produceBookingRequestBuilder,Annotated Parameters : [Annotated Parameter,Base Type : interface javax.enterprise.context.Conversation,Type Closures : null,Annotations : [],Position : 0] can not be annotated with @Initializer/@Destructor annotation or has a parameter annotated with @Disposes/@Observes
  3. 0

    Re: Weird CDI error with OpenEJB deployment

    openwebbeans-user | 3 years ago | John D. Ament
    org.apache.webbeans.exception.inject.DeploymentException: org.apache.webbeans.exception.WebBeansConfigurationException: Producer annotated method : Annotated Method 'produceBookingRequestBuilder', Base Type : class de.itso.mdbp.service.BookingRequestBuilder,Type Closures : null,Annotations : [@javax.inject.Inject(), @de.itso.mdbp.web.qualifier.BookingRequestBuilderInConversation(), @javax.enterprise.context.ConversationScoped(), @javax.enterprise.inject.Produces()],Java Member Name : produceBookingRequestBuilder,Annotated Parameters : [Annotated Parameter,Base Type : interface javax.enterprise.context.Conversation,Type Closures : null,Annotations : [],Position : 0] can not be annotated with @Initializer/@Destructor annotation or has a parameter annotated with @Disposes/@Observes
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Weird CDI error with OpenEJB deployment

    openwebbeans-user | 3 years ago | Mark Struberg
    org.apache.webbeans.exception.inject.DeploymentException: org.apache.webbeans.exception.WebBeansConfigurationException: Producer annotated method : Annotated Method 'produceBookingRequestBuilder', Base Type : class de.itso.mdbp.service.BookingRequestBuilder,Type Closures : null,Annotations : [@javax.inject.Inject(), @de.itso.mdbp.web.qualifier.BookingRequestBuilderInConversation(), @javax.enterprise.context.ConversationScoped(), @javax.enterprise.inject.Produces()],Java Member Name : produceBookingRequestBuilder,Annotated Parameters : [Annotated Parameter,Base Type : interface javax.enterprise.context.Conversation,Type Closures : null,Annotations : [],Position : 0] can not be annotated with @Initializer/@Destructor annotation or has a parameter annotated with @Disposes/@Observes
  6. 0

    Weird CDI error with OpenEJB deployment

    openwebbeans-user | 3 years ago | Rene Perschon
    org.apache.webbeans.exception.inject.DeploymentException: org.apache.webbeans.exception.WebBeansConfigurationException: Producer annotated method : Annotated Method 'produceBookingRequestBuilder', Base Type : class de.itso.mdbp.service.BookingRequestBuilder,Type Closures : null,Annotations : [@javax.inject.Inject(), @de.itso.mdbp.web.qualifier.BookingRequestBuilderInConversation(), @javax.enterprise.context.ConversationScoped(), @javax.enterprise.inject.Produces()],Java Member Name : produceBookingRequestBuilder,Annotated Parameters : [Annotated Parameter,Base Type : interface javax.enterprise.context.Conversation,Type Closures : null,Annotations : [],Position : 0] can not be annotated with @Initializer/@Destructor annotation or has a parameter annotated with @Disposes/@Observes
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.webbeans.exception.inject.DeploymentException

    org.apache.webbeans.exception.WebBeansConfigurationException: Producer annotated method : Annotated Method 'produceBookingRequestBuilder', Base Type : class de.itso.mdbp.service.BookingRequestBuilder,Type Closures : null,Annotations : [@javax.inject.Inject(), @de.itso.mdbp.web.qualifier.BookingRequestBuilderInConversation(), @javax.enterprise.context.ConversationScoped(), @javax.enterprise.inject.Produces()],Java Member Name : produceBookingRequestBuilder,Annotated Parameters : [Annotated Parameter,Base Type : interface javax.enterprise.context.Conversation,Type Closures : null,Annotations : [],Position : 0] can not be annotated with @Initializer/@Destructor annotation or has a parameter annotated with @Disposes/@Observes

    at org.apache.webbeans.config.BeansDeployer.deploy()
  2. OpenWebBeans Core
    BeansDeployer.deploy
    1. org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:226)
    1 frame
  3. OpenEJB :: OSGi :: Core
    Assembler.createApplication
    1. org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:187)
    2. org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:162)
    3. org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:43)
    4. org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:799)
    5. org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:612)
    5 frames
  4. OpenEJB :: TomEE :: Catalina
    GlobalListenerSupport.lifecycleEvent
    1. org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1205)
    2. org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1051)
    3. org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127)
    3 frames
  5. Glassfish Core
    HostConfig$DeployWar.run
    1. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    2. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    3. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
    4. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    8. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983)
    9. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660)
    9 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:744)
    5 frames