Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

215
Visualizações
HTTP 404 Error when changing the angular build folder name in Apache Tomcat

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
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda