-
Notifications
You must be signed in to change notification settings - Fork 24
Vm:true servlet annotations do not map to root #68
Comments
Please add more info... A zip of the project would help. On Wed, Dec 2, 2015 at 2:26 PM, Shun Fan [email protected] wrote:
|
is it: ? |
I guess "" is the same semantic as "/" ? |
Yes, that's the same error that I got. Webservlet annotations have given me problems before, but this is the first time seeing this particular issue. |
I am using App Engine Managed VMs (vm:true) and appengine-web.xml
If I put @WebServlet(name = "root", value = "") and try to map a servlet to root url, I will get a null pointer exception
$ mvn clean gcloud:run
Dec 02, 2015 2:22:00 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
SEVERE: Received exception processing /Users/sfan/devrel/samples/cloud/getting-started-java/2-structured-data/target/appengine-staging//WEB-INF/min-quickstart-web.xml
java.lang.NullPointerException
The fix right now is to use a web.xml and map servlet to /
The text was updated successfully, but these errors were encountered: