Book-Microservices-v2 / chapter03

Learn Microservices with Spring Boot (2nd edition) - Chapter 3
https://tpd.io/book-extra
30 stars 18 forks source link

http://localhost:8080/challenges/random not found #8

Closed wagenbm closed 1 year ago

wagenbm commented 1 year ago

Hey Moisés,

I finished the implementation of the controller but when running the application with mvnw spring-boot:run there is nothing found under http://localhost:8080/challenges/random. I only receive this error:

`This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sun Jan 15 16:48:24 CET 2023 There was an unexpected error (type=Not Found, status=404).`

I do not see what could be the error in my code which causes the issue. Maybe you want to have a look into my coding on GitHub.

Thanks and best regards, Matthias

wagenbm commented 1 year ago

It seems, that when I was trying it out without success, that not all latest changes were included when I compiled and run the project. I gave it a new try and it works, now. Actually, I am not very sure what exactly was wrong, but it works, now.