eclipse-ee4j / eclipse-ee4j/jersey

Component of class interface cannot be instantiated and will be ignored

Open
#4,331 0 comments 3 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.