Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1005955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:22:48+00:00 2026-05-16T08:22:48+00:00

I’m trying to follow a tutorial on setting up Spring MVC to work on

  • 0

I’m trying to follow a tutorial on setting up Spring MVC to work on Google App Engine. For the purposes of this question I’m using Eclipse, Maven, and a Ubuntu development environment.

I’m able to successfully build my application, as the following snippet shows :

INFO] Building war: /home/james/workspace/springappengine/target/springappengine.war
[DEBUG] adding directory META-INF/
[DEBUG] adding entry META-INF/MANIFEST.MF
[DEBUG] adding directory WEB-INF/
[DEBUG] adding directory WEB-INF/lib/
[DEBUG] adding directory WEB-INF/classes/
[DEBUG] adding directory WEB-INF/classes/com/
[DEBUG] adding directory WEB-INF/classes/com/jameselsey/
[DEBUG] adding directory WEB-INF/classes/com/jameselsey/springappengine/
[DEBUG] adding entry WEB-INF/lib/aopalliance-1.0.jar
[DEBUG] adding entry WEB-INF/lib/spring-context-3.0.3.RELEASE.jar
[DEBUG] adding entry WEB-INF/lib/spring-aop-3.0.3.RELEASE.jar
[DEBUG] adding entry WEB-INF/lib/spring-asm-3.0.3.RELEASE.jar
[DEBUG] adding entry WEB-INF/lib/commons-logging-1.1.1.jar
[DEBUG] adding entry WEB-INF/lib/spring-beans-3.0.3.RELEASE.jar
[DEBUG] adding entry WEB-INF/lib/spring-expression-3.0.3.RELEASE.jar
[DEBUG] adding entry WEB-INF/lib/spring-web-3.0.3.RELEASE.jar
[DEBUG] adding entry WEB-INF/lib/spring-context-support-3.0.3.RELEASE.jar
[DEBUG] adding entry WEB-INF/lib/spring-core-3.0.3.RELEASE.jar
[DEBUG] adding entry WEB-INF/lib/spring-webmvc-3.0.3.RELEASE.jar
[DEBUG] adding entry WEB-INF/web.xml
[DEBUG] adding entry WEB-INF/classes/com/jameselsey/springappengine/HelloController.class
[DEBUG] adding entry WEB-INF/springappengine-servlet.xml
[DEBUG] adding directory META-INF/maven/
[DEBUG] adding directory META-INF/maven/com.jameselsey/
[DEBUG] adding directory META-INF/maven/com.jameselsey/springappengine/
[DEBUG] adding entry META-INF/maven/com.jameselsey/springappengine/pom.xml
[DEBUG] adding entry META-INF/maven/com.jameselsey/springappengine/pom.properties
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.619s
[INFO] Finished at: Mon Aug 16 19:54:08 BST 2010
[INFO] Final Memory: 9M/22M
[INFO] ------------------------------------------------------------------------

However, when I attempt to fire up the application, I get the following error message in the console :

16-Aug-2010 18:56:30 com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger
com.google.apphosting.utils.config.AppEngineConfigException: Supplied application has to contain WEB-INF directory.
    at com.google.appengine.tools.development.JettyContainerService.determineAppRoot(JettyContainerService.java:319)
    at com.google.appengine.tools.development.JettyContainerService.initContext(JettyContainerService.java:145)
    at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:144)
    at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:219)
    at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:164)
    at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
    at com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:113)
    at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:89)

How can this be possible? From the maven build output it clearly shows a WEB-INF directory being created for the build.

The following is a tree output on my target directory

james@nevada:~/workspace/springappengine/target$ pwd
/home/james/workspace/springappengine/target
james@nevada:~/workspace/springappengine/target$ tree
.
|-- classes
|   `-- com
|       `-- jameselsey
|           `-- springappengine
|               `-- HelloController.class
|-- springappengine
|   |-- META-INF
|   `-- WEB-INF
|       |-- classes
|       |   `-- com
|       |       `-- jameselsey
|       |           `-- springappengine
|       |               `-- HelloController.class
|       |-- lib
|       |   |-- aopalliance-1.0.jar
|       |   |-- commons-logging-1.1.1.jar
|       |   |-- spring-aop-3.0.3.RELEASE.jar
|       |   |-- spring-asm-3.0.3.RELEASE.jar
|       |   |-- spring-beans-3.0.3.RELEASE.jar
|       |   |-- spring-context-3.0.3.RELEASE.jar
|       |   |-- spring-context-support-3.0.3.RELEASE.jar
|       |   |-- spring-core-3.0.3.RELEASE.jar
|       |   |-- spring-expression-3.0.3.RELEASE.jar
|       |   |-- spring-web-3.0.3.RELEASE.jar
|       |   `-- spring-webmvc-3.0.3.RELEASE.jar
|       |-- springappengine-servlet.xml
|       `-- web.xml
|-- springappengine.war
|-- test-classes
`-- war
    `-- work
        `-- webapp-cache.xml

15 directories, 17 files

Have I missed something completely obvious? +Rep to any helpful answers!

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T08:22:48+00:00Added an answer on May 16, 2026 at 8:22 am

    Figured it out.

    In eclipse, I need to check run configurations

    On the Arguements tab there is a section for program arguements

    It was set to :
    --port=8888 /home/james/workspace/springappengine/war

    And I needed to change it to the following so it would load up the exploded war directory :
    --port=8888 /home/james/workspace/springappengine/target/springappengine

    Hopefully this will help others in the same situation, check run configurations, the default setup didn’t work for me!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I am using Paperclip to handle profile photo uploads in my app. They upload
I'm making a simple page using Google Maps API 3. My first. One marker
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.