简体   繁体   中英

Configuring appengine-web.xml

I successfully cloned an web application project from Github to eclipse Luna. When I try to deploy the cloned project to google app engine, eclipse does not recognise it as a web project. I realised that it was missing the appengine-web.xml file. I created one under directory WEB-INF in War, I saved it but when I try again to deploy, still eclipse says that the project is not an app engine project.

What could I be possibly doing wrong?

Since you do not provide the exact error message, I list several possible causes:

  1. Right click on your project, select "Google" option, then "App Engine". Make sure that "Use Google App Engine" checkbox is checked.

  2. In your build path, make sure that "Allow output folders for source folders" is checked and the correct folder is specified (ie "MyProject/war/WEB-INF/classes".

  3. Make sure that you are logged in Google with the correct account before you try to deploy - your current account is shown in the bottom right corner.

UPDATE:

This error indicates that your project is not a Java project. Select Project Facets in Properties. On the right side make sure that on the left side Java 1.7 is selected.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM