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 8041103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T04:06:27+00:00 2026-06-05T04:06:27+00:00

I am running a Java REST web service Google AppEngine. It runs great on

  • 0

I am running a Java REST web service Google AppEngine. It runs great on my local Google Plugin for Eclipse development server. However, after it is deployed to the AppEngine Cloud, I get the following error that repeatedly is logged every 4 milliseconds:

    com.sun.jersey.core.spi.component.ProviderFactory __getComponentProvider: The provider class, class com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$General, could not be instantiated. Processing will continue but the class will not be utilized

This is the same issue as:

Jersey error on Google App Engine

However, the solution arrived at there is not working for me. The solution was “adding the jackson*.jar libs the problem is gone.” I did add all the Jackson jars as $ECLIPSE_PROJECT_HOME/war/WEB-INF/lib/jackson-all-1.9.7.jar , but I still get the error. I understand the nature of the problem (Jackson isn’t being detected as a Provider by Jersey), but I find interesting that this error only occurs once deployed, not in development.

Perhaps I’ll try the new 2.0.0 series of Jackson…

Do I need to add anything referring to Jackson to my $ECLIPSE_PROJECT_HOME/war/WEB-INF/web.xml file? Right now, I have:

<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
    <servlet>
        <servlet-name>jerseywebapp</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>org.pathways.openciss.rest.impl</param-value>
        </init-param>
        <init-param>
            <param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param> 
            <param-name>com.sun.jersey.config.property.classnames</param-name> 
            <param-value>org.codehaus.jackson.jaxrs.JacksonJsonProvider</param-value> 
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Jersey Web Application</servlet-name>
        <url-pattern>/resources/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>jerseywebapp</servlet-name>
        <url-pattern>/*</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
        <welcome-file>OpenCISS.html</welcome-file>
    </welcome-file-list>
</web-app>

I’ve tried it with and without the POJOMappingFeature and JacksonJsonProvider params turned on and off, to no avail…

Thanks in advance for any advice.

  • 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-06-05T04:06:29+00:00Added an answer on June 5, 2026 at 4:06 am

    Solved. I was using Jackson libraries not bundled with Jersey. I removed the Jackson libraries and just installed the Jersey archive containing Jackson from:

    http://maven.java.net/service/local/artifact/maven/redirect?r=releases&g=com.sun.jersey&a=jersey-archive&v=1.12&e=zip

    … which is linked off the website:

    http://jersey.java.net/nonav/documentation/latest/chapter_deps.html

    The Jersey archive (currently v. 1.12) worked great. Once I added all the jars in its /lib folder, the errors went away, as the other poster saw. What I wasn’t understanding was that only Jersey archives should be used, not a mix of jars from the Jersey and Jackson web sites, since the Jersey archive contains Jackson jars.

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

Sidebar

Related Questions

I am running a Jersey REST service. The POJO's which represent my resources are
I'm using the Jersey Client library to run tests against a rest service running
I have a running Java GWT application, that I can compile using Eclipse. Now
I have a problem running a java process as a windows service due to
I'm trying to get my Struts2 project running with Tiles and REST Plugin but
i have created a Java Restful Web service . Now i want to access
I now have a running Java program which only lacks of the final step,that
I am running Java 6 on a Linux machine (RHEL 5) and my program
There's plenty of information on running Java apps as services, but I need to
Could anyone please tell how jre directory help in the running java programs? I'm

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.