Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » I get an error message despite importing jar files
I get an error message despite importing jar files [message #103314] Tue, 20 September 2005 19:51 Go to next message
Eclipse UserFriend
Originally posted by: nthalank.rdg.boehringer-ingelheim.com

Hello

I am new to Eclipse.

I am attempting to port a java application written in Notepad to the IDE.

This app uses a lot of packages and is working perfectly fine on the dev
server.

Te Eclipse IDE sits on my desktop. Despite importing all relevant jar
files into Eclipse I still see many error messages on the import statements

For e.g. I get an error message stating that the package 'import
org.jdom.JDOMException;' cannot be resolved.

All JDOM packages are in one jar file 'jdom.jar'

When I observe the package explorer I noticed that it shows individual
packages of the JDOM jar file. In it I noticed that the 'jdom' package
itself is missing.

JDOM works fine with the notepad so why is it missing in the Package
explorer.

I have noticed this with other jar files as well.

Can some one tell me what is happening...

Thanks
Naveen
Re: I get an error message despite importing jar files [message #104354 is a reply to message #103314] Fri, 23 September 2005 15:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Naveen wrote:
> Hello
>
> I am new to Eclipse.
>
> I am attempting to port a java application written in Notepad to the IDE.
>
> This app uses a lot of packages and is working perfectly fine on the dev
> server.
>
> Te Eclipse IDE sits on my desktop. Despite importing all relevant jar
> files into Eclipse I still see many error messages on the import statements
>
> For e.g. I get an error message stating that the package 'import
> org.jdom.JDOMException;' cannot be resolved.
>
> All JDOM packages are in one jar file 'jdom.jar'
> When I observe the package explorer I noticed that it shows individual
> packages of the JDOM jar file. In it I noticed that the 'jdom' package
> itself is missing.
>
> JDOM works fine with the notepad so why is it missing in the Package
> explorer.
>
> I have noticed this with other jar files as well.
>
> Can some one tell me what is happening...

You need to read the Getting Started sections of the Eclipse Help. They
will explain to you how to set up your Java Projects in Eclipse.
In short, your problem is likely because having a JAR in Eclipse is not
sufficient for the compiler to use it. You must configure the Project to
use that JAR on its Build Path (via the Properties dialog for the Project).

Read the Help - it will enlighten you ;-)

HTH,
Eric
Re: I get an error message despite importing jar files [message #1284432 is a reply to message #104354] Fri, 04 April 2014 13:19 Go to previous message
mariano francolino is currently offline mariano francolinoFriend
Messages: 1
Registered: April 2014
Junior Member
Hey Guys I´m having the same problem while installing the Jar files into my Projekt... the files are there, but when I called them on my Java file the message "'import org.jdom.JDOMException;' cannot be resolved." still there.... will appreciate some help ! Razz

nice weekend by the way!
Previous Topic:Java EE IDE tutorial
Next Topic:Using Eclipse for Java Developers
Goto Forum:
  


Current Time: Sun Oct 25 15:32:56 GMT 2020

Powered by FUDForum. Page generated in 0.03081 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top