-1👍
Spring boot will block all the request coming from different origin, hence all your request is getting blocked.
Ways to get pass this
- Add proxy in your Vue.js to avoid – Preferred way
- Use @CrossOrigin("your-origin") on your controller
- Implement a spring boot filter which will intercept the request and add "Access-Control-Allow-Origin" header in your request
Source:stackexchange.com