eugenp / tutorials

Just Announced - "Learn Spring Security OAuth":

Home Page:http://bit.ly/github-lsso

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ISSUE] Project spring-boot-jersey is not exposing any endpoint

ahmadshahwan opened this issue · comments

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:

  1. Open a terminal.
  2. Change directory to 'spring-boot-modules/spring-boot-mvc-jersey/spring-boot-jersey'
  3. Run 'mvn spring-boot:run'
  4. Browse to "http://localhost:8080/hello/test"
  5. 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