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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18

  • via openwebbeans-user by Mark Struberg, 9 months ago
    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
  • via openwebbeans-user by John D. Ament, 9 months ago
    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
  • via openwebbeans-user by Romain Manni-Bucau, 9 months ago
    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
  • Stack trace

    • 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(BeansDeployer.java:226) at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:187) at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:162) at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:43) at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:799) at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:612) at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1205) at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1051) at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 8 months ago