
[ Troubleshooting Note ] Spring Boot - CORS Access-Control-Allow-Origin
·
Web Development/Troubleshooting Note
▶ EnvironmentReact(Frontend): http://localhost:5173SpringBoot(Backend): http://localhost:8080 ▶ When the Error Occurred로그인 기능 구현 중 클라이언트와 서버의 통신 과정에서 발생하였다. ▶ Error MessageAccess to XMLHttpRequest at 'http://localhost:8080/user/addbasic' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.http://local..