I try to develop a maven project with Angular 2 with Spring security. The structure of the project is similar on this guide: http://csetutorials.com/deploy-angular-2-maven-webapp-on-tomcat.html
But i am having a problem when building angular 2 using webpack. Because when i change a html to jsp in my angular 2. I get an error for (maven or npm) like this
From that error, i try to find an appropriate loader to compile jsp file or some tweak for webpack to recognize .jsp file but i cant find any of those solutions. So is it webpack can't compile jsp files?