Problem with Class Path in Eclipse

I'm using the esclipe IDE and I added a jarfile to my program by going to properites-->build path> libraries and added it there. But when I compile it, I get this error saying

Exception in thread"main" java.lang.NoClassDefFoundError: org/apache/avalon/framework/configuration/ConfigurationException

Can anyone help me with this problem?

[388 byte] By [blackmagea] at [2007-11-27 8:10:02]
# 1
Does the library appear in the package explorer? p.s. this is possibly a pure eclipse problem and people might tell you to go to their forums
ita6cgra at 2007-7-12 19:53:23 > top of Java-index,Java Essentials,Java Programming...
# 2
Yea it appears in the explorer and I am able to import classes from the jar file.
blackmagea at 2007-7-12 19:53:23 > top of Java-index,Java Essentials,Java Programming...
# 3
Is the jar you imported the only one you need? See if it has a dependency on any others, you'll need them, too. This doesn't look like an Eclipse problem, just a classpath omission
georgemca at 2007-7-12 19:53:23 > top of Java-index,Java Essentials,Java Programming...
# 4
Yea, is the only jar that come in the binary files I downloaded. Its an Apache FOP, like HSSF(if ur familiar with that).
blackmagea at 2007-7-12 19:53:23 > top of Java-index,Java Essentials,Java Programming...
# 5

> Yea, is the only jar that come in the binary files I

> downloaded. Its an Apache FOP, like HSSF(if ur

> familiar with that).

That's not what I asked! A lot of libraries will require that you download other libraries as well (Apache projects are particularly notorious for this), check the download page for it. What jar was it? Either you've forgotten a library, or you've misconfigured something, but I'd check for missing libraries first

georgemca at 2007-7-12 19:53:23 > top of Java-index,Java Essentials,Java Programming...
# 6
Yea, it is the only required library. None of the other were mentioned on the site and the class that I'm looking for is inside the jar file.
blackmagea at 2007-7-12 19:53:23 > top of Java-index,Java Essentials,Java Programming...
# 7
Wait, I take th back, there is another jar called avalon so I downloaded it and added to the class paths in esclipe but is saying its still not there.
blackmagea at 2007-7-12 19:53:23 > top of Java-index,Java Essentials,Java Programming...
# 8
Does the new jar file you downloaded actually include the class that's named in that error message?
DrClapa at 2007-7-12 19:53:23 > top of Java-index,Java Essentials,Java Programming...
# 9
Thnx, i got it working. It wasn't the jar, it was that I needed 10 other jars to go along with it.Pain the *ss.
blackmagea at 2007-7-12 19:53:23 > top of Java-index,Java Essentials,Java Programming...