CORS AngularJS API REST

Habilitar CORS en el paquete Tomcat

Errors with CORS !

Hi everybody,
I'm trying to authenticate into bonita API REST, using AngularJs , but it doesn't work, because i have this error :

XMLHttpRequest cannot load http://localhost:8080/bonita/loginservice. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access.

Notifications