Hi,

 

it seems that there is an issue with inheriting Scope-Annotations using
OPenWebBeans in an JavaSE environment:

 

If I annotate the bean directly with @RequestScoped all is ok. If I move the
annotation to a base class I get an exception. This only happens in an
JavaSE environment. The same scenario with TomEE 8 PluME works.

 

Before creating a ticket in JIRA I want to ask here if I am doing something
wrong .

 

I used this dependencies in my pom.xml: openwebbeans-se, openwebbeans-spi,
openwebbeans-impl (Version 2.0.8)

 

This is the exception I get:

Exception in thread "main"
org.apache.webbeans.exception.WebBeansDeploymentException:
javax.enterprise.inject.UnsatisfiedResolutionException: Api type
[de.frandly.labor.bootcdidemo.app.RequestBean] is not found with the
qualifiers 

  Qualifiers: [@javax.enterprise.inject.Default()]

  for injection into Field Injection Point, field name :  requestBean, Bean
Owner : [AppMain, WebBeansType:MANAGED, Name:null, API
Types:[de.frandly.labor.bootcdidemo.app.AppMain,java.lang.Object],
Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]]

    ...

  Caused by: javax.enterprise.inject.UnsatisfiedResolutionException: Api
type [de.frandly.labor.bootcdidemo.app.RequestBean] is not found with the
qualifiers 

  Qualifiers: [@javax.enterprise.inject.Default()]

  for injection into Field Injection Point, field name :  requestBean, Bean
Owner : [AppMain, WebBeansType:MANAGED, Name:null, API
Types:[de.frandly.labor.bootcdidemo.app.AppMain,java.lang.Object],
Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]]

    ...

  Command execution failed.

  org.apache.commons.exec.ExecuteException: Process exited with an error: 1
(Exit value: 1)

    ...

 

Thank you

 

Frankie

 

Reply via email to