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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:32:53+00:00 2026-05-26T20:32:53+00:00

Had a 3rd parties working JAR file in my own project, but I ran

  • 0

Had a 3rd parties working JAR file in my own project, but I ran into a problem: i needed some customization to do.

  1. Forked a repository from Github.
  2. Modified the source code
  3. Exported the JAR: Left click > Export > Java > JAR file > Default
    settings
  4. Imported the JAR to my own Android project: Left click >
    Import > File system & Left Click on project > Properties > Java
    Build Path > Add JARs > OK

Now, when I run my program (which was working fine with 3rd parties official JAR) I run into exception on runtime:

11-10 06:22:05.912: E/AndroidRuntime(1125): Caused by: java.lang.NoClassDefFoundError: org.jsoup.Jsoup

When I extract the JAR file, then it contains all the needed class files (including org.jsoup.Jsoup).

NoClassDefFoundError – error reading the class definition. This typically happens when the class in question has static blocks or members which use a Class that’s not found by the ClassLoader. Source

As I understand, this seems to be some kind of exported JAR classpath problem?

  • 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-26T20:32:53+00:00Added an answer on May 26, 2026 at 8:32 pm

    Yeah , NoClassDefFoundError usually means the classpath problem , especially there are many class loaders. But I think yours is a simple case.

    Are you sure it’s ” Java Build Path > Add JARs”?
    It’s a ” Java Build Path > Add External JARs” option in my memory .Maybe you can try.

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

Sidebar

Related Questions

Had this working; at one stage. The problem is the following text is now
I've had nothing but grief using Symbian's browser control on S60 3rd edition FP1.
I have a 3rd party JAR file that is compiled using Java 1.4. Is
I just had a task in where I needed to replace each 3rd value
I have some 3rd party jar files that I want to reference in my
I'm using a 3rd party ETL tool with some FTP capabilities, but they're minimal
I had a problem on how to put dash in every 3rd character. For
A project I'm working on fetches data from a 3rd party service and caches
Had to download Command Line Tools from Apple to get make to work, but
Had a good read through similar topics but I can't quite a) find one

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.