Spring-Boot-Blog-REST-API icon indicating copy to clipboard operation
Spring-Boot-Blog-REST-API copied to clipboard

401 response on homepage

Open arvindpdmn opened this issue 1 year ago • 2 comments

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:

  1. Follow the Readme.
  2. Update MySQL username and password in both _application.properties and application.yml files (in folder src/main/resources).
  3. In application.yml, replace "blogapi-db:3306" with "localhost:3306"
  4. In pom.xml, update lombok version to 1.18.22 to solve a build issue.
  5. Run mvn spring-boot:run
  6. Access http://localhost:8080 on browser.

Expected behavior Homepage should be seen without errors.

Screenshots image

Desktop (please complete the following information):

  • OS: Windows10
  • Browser: Brave
  • Version: [Version 1.51.118 Chromium: 113.0.5672.126 (Official Build) (64-bit)]

arvindpdmn avatar May 28 '23 17:05 arvindpdmn