]
Martin Kouba commented on WFLY-2859:
------------------------------------
For the record - Stuart's pull request was first merged and then reverted , see also
Treating all JAX-RS components as CDI Beans has some negative
consequences
--------------------------------------------------------------------------
Key: WFLY-2859
URL:
https://issues.jboss.org/browse/WFLY-2859
Project: WildFly
Issue Type: Bug
Components: CDI / Weld, REST
Affects Versions: 8.0.0.CR1
Reporter: Matt Drees
Assignee: Stuart Douglas
It seems that wildfly is now treating all jax-rs Providers and Resources as CDI Beans.
This is probably fine most of the time, but there are some Provider classes that cause
UnproxyableResolutionException (WELD-001437) errors, due to the fact that resteasy-cdi
attempts to get bean reference whose type is identical to the bean class.
See the forum link for a specific instance of this.