How to solve this problem?

Hi there.
I've got a sample code, including some imports, and one of them is:
import org.apache.commons.collections.EnumerationUtils;but nowhere I can't find this class.
I've already downloaded jakarta-commons collentions , copied all the java files included, tried to compile them, but without any success :-(
I also tried to add manually files: EnumerationUtils.java , EnumerationIterator.java (EnumerationUtils imports something from EnumerationIterator) and then IteratorUtils.java, what is needed, but this IteratorUtils imports 20 other files and now I really don't know what to do...

Hmm... I did what you've told me. Downloaded this zip file, extracted commons-collections-3.2.jar somwhere and now:
PATH=d:\CFusionMX7\verity\k2\_nti40\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW
S\System32\Wbem;D:\java\jdk1.5.0_06\bin;C:\Program Files\Microsoft SQL Server\80
\Tools\Binn\;D:\Sun\commons-collections-3.2.jarBut when compiling the file, there's still a problem:
--------------------Configuration: <Default>--------------------
C:\Documents and Settings\doberman\Desktop\lekser\Lekser.java:5: package org.apache.commons.collections does not exist
import org.apache.commons.collections.EnumerationUtils;
                                      ^
C:\Documents and Settings\doberman\Desktop\lekser\Lekser.java:27: cannot find symbol
symbol  : variable EnumerationUtils
location: class Lekser
                List list = EnumerationUtils.toList(stringTokenizer);
                            ^
C:\Documents and Settings\doberman\Desktop\lekser\Lekser.java:43: cannot find symbol
symbol  : variable EnumerationUtils
location: class Lekser
                        returnList.addAll(EnumerationUtils.toList(tokenizer));
                                          ^
Note: C:\Documents and Settings\doberman\Desktop\lekser\Lekser.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
Process completed.Should I change anythind more?

Similar Messages

Maybe you are looking for

  • XML Transformation - Migration from JDK 1.4 to JDK 1.6

    Hi all, I am switching from JDK 1.4 to JDK 1.6 but my XSLT transformations are outputting different XML (although structurally sound). JDK 1.6 outputs the namespaces for each element rather than placing them at the top level node. I've included the s

  • Safari 7.0.3 unable to open local file

    Hi, Since I've installed the new safari 7.0.3, I'm not able to open local html files. It just open an empty tab. Even if I paste the path into the address area, it just does nothing. Thank you in advance. Nicolas

  • Help Please With iPod Player On My 3GS

    Hello, Could anyone help me with a problem with my iPod part of my iPhone 3GS. The iPod will start to play my desired Playlist, but during the playback, the track album covers forget the last played track and franticly search for it. The album covers

  • Webstart app does not launch with 6u2

    Anyone has problem with launching a webstart app with 6u2? Message was edited by: roger@_@

  • BEX Exceptions

    Hi Experts, I've created some exceptions in a BEX (7.0) query to display colours in a third KF. I mean, the exceptions are defined over one KF, but colours are displayed over a different one. The issue I am facing is when defining a single exception