eclipse-ee4j / eclipse-ee4j/jersey

Unable to get org.glassfish.jersey.server.internal.process.Endpoint ref on running jetty 12.0.12 server

Open
#5,740 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

Hi,
I have migrated jetty from 8.1.6 to 12.0.12, as part of this I am using jersey-4.0.0-M1, whenever I run jetty server, its able to inject the testendpoints, but while hitting the api, the endpoint ref becoming null, resulting HTTP 404 not found,

issue details :

Though the custom testendpoint being loaded by ResourceMethodInvoker,

![image](https://github.com/user-attachments/assets/30749243-69bc-46c3-9e68-c6bc1e3cb383)

Getting below endpoints are always empty here, due to that _404 not found_ error occurs
![image](https://github.com/user-attachments/assets/9433e287-c026-4210-a309-bd3d689bf75a)

demo **testendpoint** placed on web-inf/classes/packagename/file name.class
[TestEndpoint.java.txt](https://github.com/user-attachments/files/16854313/TestEndpoint.java.txt)

https://github.com/jetty/jetty.project/issues/12180#issuecomment-2308981061, can find more details about this issue in jetty portal

pls let me know if anything required

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.