Не удалось извлечь файл angular.min.js из папки webcontent/lib в eclipse
Я не могу вытащить angular.min.js
а также angular-route.js
от web content/lib
папка на моей странице HTML.
Это мой код:
HomeContent.html
body>
<div align='center'>
<a href="#!/AdminLogin">Admin</a>
<a href="#!/Registration">Registation</a>
</div>
<div ng-view align='center'></div>
<!-- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular-route.js"></script> -->
<script src="lib/angular.min.js"></script>
<script src="lib/angular-route.js"></script>
<script>
angular.module("myApp", ["ngRoute"])
.config(function($routeProvider){
$routeProvider
.when("/AdminLogin", {
template:"<h2>You are on Admin login</h2>"
})
.when("/Registration", {
template:"<h2>You are on Registration</h2>"
})
})
</script>
</body>
Но получаю ошибку ниже:
HomeContent.html: 16 GET http://localhost:8085/WebSiteSTT/HTML/lib/angular.min.js 404 (не найден) HomeContent.html: 17 GET http://localhost:8085/WebSiteSTT/HTML/lib/angular-route.js 404 (не найден)