Currently I'm working on an angular project which is hosted in "AWS Ec2". The build output is "www". Usually we change the name into the name we're using for ages. It's working fine. But, When I tried to change the build folder name to any other names. The Tomcat throws a "The origin server did not find a current representation for the target resource or is not willing to disclose that one exists." error. We also have other projects which were built by "ionic s" command. Those projects working fine even after changing name to any names we desire..
Bu, the project I'm talking about was buit by "ng build --prod"
These are the specs..
I tried changing the build output path in "angular.json" file
"outputPath": "build/<somebuild>"
Tomcat Version : 8.5.35
Angular CLI: 7.3.8
Node: 14.13.1
OS: win32 x64
Angular: 7.2.13
@angular-devkit/architect 0.13.8
@schematics/angular 7.3.8
@schematics/update 0.13.8
rxjs 6.3.3
typescript 3.2.4
webpack 4.29.0