Spring-Boot-Blog-REST-API
Spring-Boot-Blog-REST-API copied to clipboard
401 response on homepage
Describe the bug Cloned the repo and followed the readme but I get 401 error. Screenshot is attached.
To Reproduce Steps to reproduce the behavior:
- Follow the Readme.
- Update MySQL username and password in both
_application.properties
andapplication.yml
files (in folder src/main/resources). - In
application.yml
, replace "blogapi-db:3306" with "localhost:3306" - In
pom.xml
, update lombok version to 1.18.22 to solve a build issue. - Run
mvn spring-boot:run
- Access
http://localhost:8080
on browser.
Expected behavior Homepage should be seen without errors.
Screenshots
Desktop (please complete the following information):
- OS: Windows10
- Browser: Brave
- Version: [Version 1.51.118 Chromium: 113.0.5672.126 (Official Build) (64-bit)]