You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Definition annotations with qualifiers are intended to be processed by CDI. Therefor it's crucial they are also visible to CDI, which means they have to appear on a bean that is set to be scanned by CDI.
At the moment "AnnotationFullTests" in the Concurrency TCK has a Servlet that in the archive its in, is not scanned by CDI and has the mentioned *Definition annotation with qualifiers. This class should be set to be scanned by CDI. Either by giving is a bean defining annotation (e.g. @ApplicationScoped) or using a beans.xml that dictates that CDI should scan all classes.
The text was updated successfully, but these errors were encountered:
This is because Servlet 3.0 explicitly forbids using other CDI qualifiers on servlets. Although it seems that this restriction was removed, some servers still abide it.
Fixesjakartaee#489
Signed-off-by:Ondro Mihalyi <mihalyi@omnifish.ee>
*Definition annotations with qualifiers are intended to be processed by CDI. Therefor it's crucial they are also visible to CDI, which means they have to appear on a bean that is set to be scanned by CDI.
At the moment "AnnotationFullTests" in the Concurrency TCK has a Servlet that in the archive its in, is not scanned by CDI and has the mentioned *Definition annotation with qualifiers. This class should be set to be scanned by CDI. Either by giving is a bean defining annotation (e.g. @ApplicationScoped) or using a beans.xml that dictates that CDI should scan all classes.
The text was updated successfully, but these errors were encountered: