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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:45:56+00:00 2026-06-09T04:45:56+00:00

ive been trying to do an import in my java project but i keep

  • 0

ive been trying to do an import in my java project but i keep getting the following error.

The import org.jdom cannot be resolved

i have created a lib folder under my project and have put the jar files from http://www.jdom.org/downloads/index.html

into there.
there were a total of 8 different jar files which i added. then i added them in my build path. those 8 files are now in my referenced libraries. however that error keeps coming up. ive tried refreshing and cleaning my project but no luck.

am i supposed to do something different since its a org.jdom?

my import statements are…

import org.jdom.Document;
import org.jdom.Element;
import org.jdom.JDOMException;
import org.jdom.input.SAXBuilder;
import org.jdom.output.Format;
import org.jdom.output.XMLOutputter;

thank you

  • 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-09T04:45:57+00:00Added an answer on June 9, 2026 at 4:45 am

    I opened the jar file at the link you gave using 7zip. It looks like you will need to use the import statements: (Note the addition of the ‘2’) “import org.jdom2.Document;”

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

Sidebar

Related Questions

Hi ive been trying to use System.Security.Cryptography to encrypt and decrypt a file but
I've been trying to load the JDBC MySQL connector with the following code: import
Ive been trying to debug this for hours but I was unable to get
hello I've been trying to find how to run a Java Play project in
I've been trying to import a table from oracle 10g into SQL Server 2005
I've been trying to use 'import poplib' to access gmail, since I have Pop
I've been trying to invoke D3 within Node.js. I tried firstly to import d3.v2.js
Ive been trying for a while now to get a rich textbox to populate
Ive been trying unsuccessfully for a few days now to get a button to
Ive been trying to display formatted content blocks from a xml file with no

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.