spring - AngularJS GET request returning 404, though its accessible -


firing angularjs rest url request angularjs, returning 404 though hitting required method on server side (spring implementaiton) , producing desired result

could tell me problem ?

below method firing angularjs request

 getcredentials : function(){              return $http.get('/hellorest/getusername');  }  

the above method results in

   url : http://localhost:8083/hellorest/getusername 

below stack traces

 <body>  <h1>http status 404 - /hellorest/getusername</h1>  <div class="line"></div><p><b>type</b> status report</p><p>  <b>message</b>   <u>/hellorest/getusername</u></p><p>  <b>description</b>   <u>the requested resource not available.</u></p>  <hr class="line"><h3>apache tomcat/8.0.37</h3></body></html> 


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -