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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:01:12+00:00 2026-06-15T22:01:12+00:00

I want to use Jackson JSON parser library in my android project. I saw

  • 0

I want to use Jackson JSON parser library in my android project. I saw this library in Maven repository, but I don’t know how to use it. I’ve downloaded sources from the Maven repository and Jackson jars and attached sources to jar, but in the logcat I saw error message NoClassDefFoundError. When googling I’ ve read that I have to declare Jackson dependencies in pom.xml file.I’ m a newbie in Java development so I don’t know what all these means. And have some questions:

1.How to write pom.xml for the Jackson library

2.Where to put this pom.xml

3. Do I really need to install Maven if I just want to use the library.

4. What else I need to begin work with the library?

  • 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-15T22:01:13+00:00Added an answer on June 15, 2026 at 10:01 pm

    No, you do not need to write a pom file, unless you are using Maven for building (in which case you need it regardless of Jackson).

    What you need are just Jackson jars — there is more than one, since some projects only need some pieces. This page:

    http://wiki.fasterxml.com/JacksonDownload

    should show what you need, and where to get them from. If you are starting from scratch, I would strongly recommend using Jackson 2.1 (not 1.9). And then you most likely need 3 jars (jackson-annotations, jackson-databind, jackson-core) — although minimal is just jackson-core, if you use so-called “streaming API” (low-level, highest performance, but more work).

    The benefit of using Maven would be just that you can define logical depenendency (group and artifact id of jar), and Maven would resolve it to physical jar, as well as references to other jars.

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

Sidebar

Related Questions

I want to use Jackson JSON 2.1.1 parser in my Android project in Eclipse
i want use XmlSampleGenerator API in my project. i don't know how to add
I want to use jackson json library for a generic method as follows: public
I don't like Jackson. I want to use ajax but with Google Gson. So
I have a Java servlet, where I want to use the Jackson JSON parser
I want use BYTE_ORDER macro in my Xcode project but i can't because i
I want use jQuery in my project. I know the javascript_include_tag calls the jQuery
I know this question has been asked here before, but I don't think those
I know it is very easy to use Jackson to convert Map to Json.
I'm using Jackson 1.6.4 and Java JDK 6. I don't want to use Jackson

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.