I am a beginner in AngularJS and I am facing an issue while trying to include the angular.min.js file in my HTML. Although the path seems correct and it works for other JS files, I am encountering a 404 error specifically for angular.min.js. Do I need to configure something else to make it work? The friends.js file included below is working fine.
<script type="text/javascript" src= "/WebServices/js/friends.js"></script>
<script type="text/javascript" src= "/WebServices/js/angular.min.js"></script>
For further details, you can check the response in console or refer to my web.xml file:
<servlet>
<servlet-name>MainServlet</servlet-name>
<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MainServlet</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
Below is the folder structure of the project "WebServices": folder structure 1