[ad_1]
I have an application in Spring boot 2.6.6 and Angular 6.1.0. I am trying to deploy both apps in a single war. Application is running fine with context path if running as spring boot app in eclipse and Angular app separately. But if I run in tomcat (9.0.30) application is not loading. For URL localhost:8080/Demo/#/login , I am getting some JSON content on browser screen.
{
"_links": {
"users": {
"href": "http://localhost:8080/Demo/index.html/users{?page,size,sort}",
"templated": true
},
"country": {
"href": "http://localhost:8080/Demo/index.html/country{?page,size,sort}",
"templated": true
}
...
...
...
}
}
I have also tried URL – localhost:8080/Demo/index.html, then I can see the application UI. But on refreshing the page URL getting changed to localhost:8080/Demo/#/login and getting same JSON displayed on UI.
[ad_2]