the project setup using spring boot, i got the same error when i replace WebInitializer with web.xml file. I did remove the web.xml when apply WebInitializer java file.
below are the structure, appreciated your guidance !
Have you added some debugging statements to see if your controller method is being called?
My guess is that it's a problem with the view name you're supplying. I believe the default ViewResolver is a InternalResourceViewResolver. I think you therefore want to be returning a view name of "hello", rather than "hello.jsp".
SCJP 5, SCWCD 5
Nakata kokuyo
Ranch Hand
Posts: 472
posted 1 year ago
Thanks Gordy, i did changed that before, it doesn't help in my case.
Nakata kokuyo
Ranch Hand
Posts: 472
posted 1 year ago
I try print out from the controller method, it doesn't show anything too, the controller method doesn't seem calling