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

  • Home
  • SEARCH
  • 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 7017745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:57:15+00:00 2026-05-27T22:57:15+00:00

Within SpringSource Tool Suite I created a standard google app engine project. I added

  • 0

Within SpringSource Tool Suite I created a standard google app engine project. I added Jersey for REST support. The development server starts up fine, but when I try to GET a URL (e.g. http://localhost:8888/sibibjersey/api) I’m simply getting a 404. I suppose this is a simple configuration issue, but the solutions seems to hide away from me….

Here the main files:

web.xml looks like this.

<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
    <init-param>
        <param-name>com.sun.jersey.config.feature.DisableWADL</param-name>
        <param-value>true</param-value>
    </init-param>


    <servlet>
        <servlet-name>Jersey Web Application</servlet-name>
        <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
        <init-param>
            <param-name>com.sun.jersey.config.property.packages</param-name>
            <param-value>com.sibib.main</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <servlet-name>Jersey Web Application</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>
</web-app>

I tried variations of the url-pattern like /* and /rest/*, but none seemed to work.

The only Java class in com.sibib.main is InfoResource.java:

package com.sibib.main;

import javax.ws.rs.GET;
import javax.ws.rs.Path;

@Path("/api")
public class InfoResource {

    @GET
    public String info() {
        return "Hello Jersey on Google App Engine";
    }
}

I tried adding @Path to the info function, but no effect. When I start the server and navigate e.g. to http://localhost:8888/sibibjersey/api I’m simply getting a 404.
Loading http://localhost:8888 loads the index.html in the war folder.

These are the lib referenced in the project:

  • activation-1.1.1.jar
  • appengine-api-1.0-sdk-1.6.1.jar
  • appengine-api-labs-1.6.1.jar
  • appengine-jsr107cache-1.6.1.jar
  • asm-3.3.1.jar
  • datanucleus-appengine-1.0.10.final.jar
  • datanucleus-core-1.1.5.jar
  • datanucleus-jpa-1.1.5.jar
  • geronimo-jpa_3.0_spec-1.1.1.jar
  • geronimo-jta_1.1_spec-1.1.1.jar
  • google_sql.jar
  • jackson-core-asl-1.9.2.jar
  • jackson-jaxrs-1.9.2.jar
  • jackson-mapper-asl-1.9.2.jar
  • jaxb-api-2.2.4.jar
  • jaxb-impl-2.2.4-1.jar
  • jdo2-api-2.3-eb.jar
  • jersey-bundle-1.11.jar
  • jersey-client-1.11.jar
  • jersey-core-1.11.jar
  • jersey-json-1.11.jar
  • jersey-server-1.11.jar
  • jettison-1.1.jar
  • jsr107cache-1.1.jar
  • persistence-api-1.0.2.jar
  • stax-api-1.0-2.jar

Any hint is greatly appreciated!

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-27T22:57:16+00:00Added an answer on May 27, 2026 at 10:57 pm

    Can you try removing sibibjersey from the context path, just try with http: //localhost:8888/api
    In my local, I have not seen Google App Engine’s application having project path along with http: //localhost:8888
    I followed http://tugdualgrall.blogspot.com/2010/02/create-and-deploy-jax-rs-rest-service.html and it worked for me without any issues.

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

Sidebar

Related Questions

I am trying to use Tomcat 6.0 as a web development server within SpringSource
Within my Subversion project I have a few directories that contain other open source
Within an n-tier app that makes use of a WCF service to interact with
Within my Cocoa app, I call NSWorkspace's openFile: method to open some file with
Within a Cocoa application I have a webview. When Google's personalized home page loads
Within a research project that I'm currently working on, we're trying to define the
Within a Visual Studio (2005/2008) Project I'd like to use an open source library.
Within my windows app, i'm using a c++ DLL wrapped with a .NET DLLs
Within my project I have a Listbox which uses a datatemplate. Within this data
Within a project we create a path to a file by using some path

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.