why "package org.apache.commons.io" does not exist?

Discussion in 'Java' started by www, Aug 21, 2007.

  1. www

    www Guest

    Hi,

    I am running somebody's code. The code has import at the top:

    import org.apache.commons.io.FileUtils;


    But the compiler complains that "package org.apache.commons.io does not
    exist". I want to add classpath to point to it. But I don't know where
    this package is located. How can I find out where it is located? Can you
    give me a hint?

    Thank you very much.
     
    www, Aug 21, 2007
    #1
    1. Advertising

  2. On Tue, 21 Aug 2007 13:36:54 -0400, www wrote:
    > But the compiler complains that "package org.apache.commons.io does not
    > exist". I want to add classpath to point to it. But I don't know where
    > this package is located.


    Did you try Google?

    Download the package from here:
    http://commons.apache.org/

    Google would have told you this in less time than it took you to post.

    /gordon

    --
     
    Gordon Beaton, Aug 21, 2007
    #2
    1. Advertising

  3. www

    bugbear Guest

    www wrote:
    > Hi,
    >
    > I am running somebody's code. The code has import at the top:
    >
    > import org.apache.commons.io.FileUtils;
    >
    >
    > But the compiler complains that "package org.apache.commons.io does not
    > exist". I want to add classpath to point to it. But I don't know where
    > this package is located. How can I find out where it is located? Can you
    > give me a hint?


    Here's a hint. Start with a web search.

    BugBear
     
    bugbear, Aug 22, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bill Johnson
    Replies:
    0
    Views:
    1,238
    Bill Johnson
    Jul 8, 2005
  2. Y.S.
    Replies:
    3
    Views:
    1,023
    strajan
    Sep 17, 2003
  3. LT
    Replies:
    7
    Views:
    2,099
    Phlip
    Jul 25, 2004
  4. Mr. SweatyFinger
    Replies:
    2
    Views:
    1,964
    Smokey Grindel
    Dec 2, 2006
  5. Bill Johnson

    CS0234 Global does not exist ... but it genuinely does

    Bill Johnson, Jul 8, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    201
    Bill Johnson
    Jul 8, 2005
Loading...

Share This Page