Relative Content

Tag Archive for spring-bootspring-mvcreact-routermonorepo

404 errors occuring when deploying React build to Spring Boot static directory

I am deploying a React application where the build artifacts are placed in the static directory of a Spring Boot application, yet I am encountering 404 Not Found errors when requests are made to the application. As an additional note, I am currently testing this in a local environment.
I deploy the React build artifacts by running the following commands: