When calling a javax.ws.rs endpoint from an angularjs webapp getting CORS Error i am using angularjs (an old one) and javax.ws.rs 2.1.6