tutorials
tutorials copied to clipboard
[ISSUE] Project spring-boot-jersey is not exposing any endpoint
Article and Module Links A link to the affected module.
Describe the Issue This module is supposed to expose an endpoint on /hello/{name}. It doesn't.
To Reproduce Steps to reproduce the behavior:
- Open a terminal.
- Change directory to 'spring-boot-modules/spring-boot-mvc-jersey/spring-boot-jersey'
- Run 'mvn spring-boot:run'
- Browse to "http://localhost:8080/hello/test"
- See error "HTTP Status 404 – Not Found"
Expected Behavior A message saying "Hello, test"
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: Windows
- Browser Chrome
Hi @ahmadshahwan,
Thanks for the feedback. We'll look into this. This issue will remain open until then.
Article link: https://www.baeldung.com/rest-api-jax-rs-vs-spring
Cheers, Team
Added the Fix for this and Raised the PR as well. https://github.com/eugenp/tutorials/pull/17133
I had previously provided a fix that unfortunately went unnoticed!
@ahmadshahwan The PR is merged so I will close here.
Thanks again.
@ahmadshahwan The PR is merged so I will close here.
Thanks again.
Perfect. Thank you.