eclipse-ee4j / eclipse-ee4j/jersey
Component of class interface cannot be instantiated and will be ignored
Open
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
I am having an issue related to jersey-3992. It breaks the case when someone wants to provide JAXRS annotations on interface and use CDI for implementation beans. After upgrading from 2.28 it logs:
> org.glassfish.jersey.server.ResourceModelConfigurator -- Component of class interface com.example.RestApi cannot be instantiated and will be ignored.
I think we should provide this kind of approach since generated interfaces from spec and manual implementations are a good practice.
Is there any workaround for this problem?
Contributor guide
Assessment
This issue has not been assessed yet.