Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2954

ant compile_jute is failing for zookeeper 3.4.11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.11
    • None
    • build, jute
    • None
    • Operating system- Ubuntu 16.04
      Platform- x86_64

    Description

      when I run Apache Zookeeper 3.4.11 using OpenJDK-8 and clone source code from git.
      At 'ant compile_jute' command I get following error message :

      Buildfile: /root/zookeeper/build.xml
      
      init:
      
      jute:
          [javac] Compiling 39 source files to /root/zookeeper/build/classes
          [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
          [javac] /root/zookeeper/src/java/main/org/apache/jute/Record.java:21: error: package org.apache.yetus.audience does not exist
          [javac] import org.apache.yetus.audience.InterfaceAudience;
          [javac]                                 ^
          [javac] /root/zookeeper/src/java/main/org/apache/jute/Record.java:29: error: package InterfaceAudience does not exist
          [javac] @InterfaceAudience.Public
          [javac]                   ^
          [javac] Note: Some input files use unchecked or unsafe operations.
          [javac] Note: Recompile with -Xlint:unchecked for details.
          [javac] 2 errors
          [javac] 1 warning
      
      BUILD FAILED
      /root/zookeeper/build.xml:315: Compile failed; see the compiler error output for details.
      

      According to error, ant is unable to get InterfaceAudience which is part of audience-annotations-0.5.0.jar mentioned in build.xml
      when I search for this jar file, I could not find it in source code.

      Thanks and Regards,
      Aditya

      Attachments

        Activity

          People

            Unassigned Unassigned
            adityap Aditya Pawaskar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: