Got below error Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Thu Mar 30 16:22:06 IST 2023 There was an unexpected error (type=Not Found, status=404).
Hi Sabari, Thanks for visiting in this channel. I am writing here with respect to all your comments: 1. WhiteLabel Error page you are seeing because no /error page i had mapped. 2. For the Bad Credentials, Once you run this application by using localhost:8080/message one pop will come to ask UserName and Password if you hit cancel there you will see the Whitelabel error. 3. Bad Credentials please check through the SpringSecurityConfig class what you have configured in that class as username and password.
thanks a lot bro i been struggle for two days
@@dukhanvlogs Thanks Keep learning and exploring
@@javatalent 😇
Thank you so much.I did a mistake i.e.code snippet does Work as the controller package under the right package"
Thanks
Got below error
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu Mar 30 16:22:06 IST 2023
There was an unexpected error (type=Not Found, status=404).
Yes there is no any /error mapping done in this example
Not Found means requested resource not found please cross check for server port and url.
@@javatalent now error resolved after making the right package..thank you
@@sabari.delphi Great!
I got error while opening the /messge link itself
What the error you are getting paste the screenshot
Got the Bad credentials error
Hi Sabari,
Thanks for visiting in this channel.
I am writing here with respect to all your comments:
1. WhiteLabel Error page you are seeing because no /error page i had mapped.
2. For the Bad Credentials, Once you run this application by using localhost:8080/message one pop will come to ask UserName and Password if you hit cancel there you will see the Whitelabel error.
3. Bad Credentials please check through the SpringSecurityConfig class what you have configured in that class as username and password.