Unable to build Java GAE app, missing WEB-INF directory


#1

The error is

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war (default-war) on project co-140624: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:3.0.0:war failed: basedir /home/ubuntu/workspace/src/main/webapp/WEB-INF does not exist -> [Help 1]

but the /home/ubuntu/workspace/src/main/webapp/WEB-INF folder does exist!


#2

Problem solved: in pom.xml, it should be /home/ubuntu/workspace/main/webapp/WEB-INF, not /home/ubuntu/workspace/src/main/webapp/WEB-INF