You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.
I run the following commands:
$ mvn clean
$ mvn gcloud:run
However, when trying to visit http://localhost:8080/css/index.css, it gives me a 404 with an error message specifying that no handlers could be found.
"mvn gcloud:run" uses dev_appserver.py to start the development server. The app.yaml given is from target/simple-service-webapp/WEB-INF/app.yaml. Looking into this file, I see that the static root is being set to static. However, this directory does not exist in target/simple-service-webapp. However, it does exist in target/appengine-staging. In fact, if I copy the dev_appserver.py command and replace simple-service-webapp with appengine-staging, I can reach /css/index.css.
This seems like a bug and that target/simple-service-webapp should have a static directory.
I have configured appengine-web.xml to serve static files:
I run the following commands:
$ mvn clean
$ mvn gcloud:run
However, when trying to visit http://localhost:8080/css/index.css, it
gives me a 404 with an error message specifying that no handlers could be
found.
"mvn gcloud:run" uses dev_appserver.py to start the development server.
The app.yaml given is from target/simple-service-webapp/WEB-INF/app.yaml.
Looking into this file, I see that the static root is being set to static. However, this directory does not exist in
target/simple-service-webapp. However, it does exist in
target/appengine-staging. In fact, if I copy the dev_appserver.py command
and replace simple-service-webapp with appengine-staging, I can reach
/css/index.css.
This seems like a bug and that target/simple-service-webapp should have a static directory.
Google Cloud SDK 91.0.1
app-engine-java 1.9.30
I have configured appengine-web.xml to serve static files:
I run the following commands:
$ mvn clean
$ mvn gcloud:run
However, when trying to visit http://localhost:8080/css/index.css, it gives me a 404 with an error message specifying that no handlers could be found.
"mvn gcloud:run" uses dev_appserver.py to start the development server. The app.yaml given is from target/simple-service-webapp/WEB-INF/app.yaml. Looking into this file, I see that the static root is being set to static. However, this directory does not exist in target/simple-service-webapp. However, it does exist in target/appengine-staging. In fact, if I copy the dev_appserver.py command and replace simple-service-webapp with appengine-staging, I can reach /css/index.css.
This seems like a bug and that target/simple-service-webapp should have a static directory.
simple-service-webapp.zip
The text was updated successfully, but these errors were encountered: