Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3468

Compile error: FTPFileSystem.java:26: cannot access org.apache.commons.net.ftp.FTP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.18.0
    • fs
    • None

    Description

      [javac] Compiling 496 source files to d:@sze\hadoop\latest\build\classes
      [javac] d:@sze\hadoop\latest\src\java\org\apache\hadoop\fs\ftp\FTPFileSystem.java:26: cannot access org.apache.commons.net.ftp.FTP
      [javac] bad class file: d:@sze\hadoop\latest\lib\commons-net-1.4.1.jar(org/apache/commons/net/ftp/FTP.class)
      [javac] class file has wrong version 50.0, should be 49.0
      [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
      [javac] import org.apache.commons.net.ftp.FTP;
      [javac] ^
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.
      [javac] 1 error

      Attachments

        1. FTPJars.tar.gz
          936 kB
          Ankur Bansal

        Activity

          People

            ankur Ankur Bansal
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: