Spring Boot Tutorial 10 - Testing the Rest Controller

preview_player
Показать описание


This is the Best Spring Boot Tutorial Ever. Learn Spring Boot Today.
Рекомендации по теме
Комментарии
Автор

Hi Kindson, Been following your tutorial one by one. You're guiding very well to beginners like me and your website is valueadded on top of this video. I recommend this to all. Regarding the display issue on welcome controller. I think you have "Relaunched - first time", "Run - second time" without saving it. Can you save it once and run it. It should work. I'm going to tutorial 11 after this. Awesome work. Keep it up.

bijaythapa
Автор

Hello Mr.Kindson How are you doing today!
I am getting the below error while running springboot app and not able to fix it. Please guide me to resolve.
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.

Wed Jun 22 18:12:32 2022
There was an unexpected error (type=Not Found, status=404)
I'm Using Spring Boot 4
.

muhammadraza
Автор

Hi Kindson,

I am getting the below error while running springboot app and not able to fix it. Please guide me to resolve.

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

Mon Nov 30 22:13:14 EST 2020
There was an unexpected error (type=Not Found, status=404).

amitbhattacharya
Автор

Why you are making welcome method as static? There is no need I think.
Why to use @RestController if @Controller also works?
Please answer

jatinderverma
Автор

Kindson, I made a WelcomeController in the src/main/java but I got an error page. Can you check it for me?


Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.
Fri Jul 26 12:34:35 EDT 2019
There was an unexpected error (type=Not Found, status=404).
No message available

JEFFSKIM
Автор

Kindson, I'm stuck here on this tutorial. I've followed along verbatim, including using your exact same package names When I attempt to Run As Spring Boot App I get the following in the Console. Not sure what to do.
Exception in thread "main"
at
at
at
at
at
Caused by:
at
at
at
at
... 5 more
Picked up _JAVA_OPTIONS:

gleeloyd