Grokbase Groups Pig user June 2008
FAQ
Hello folks!


I've been trying to build Pig from trunk, but I've got the following error:

Buildfile: build.xml
BUILD FAILED
/projetos/woovi/pig/trunk/build.xml:135: Problem: failed to create task or
type jjtree
Cause: the class org.apache.tools.ant.taskdefs.optional.javacc.JJTree was
not found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-/usr/share/ant/lib
-/root/.ant/lib
-a directory added on the command line with the -lib argument

Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
Total time: 0 seconds

What I´m missing here?

Thanks in advance,
Rafael

Search Discussions

  • Travis Brady at Jun 6, 2008 at 11:42 pm
    I had the same issue a few months ago
    http://markmail.org/message/2eil2p4pt2p6pzhd and I never got a straight
    answer. Things seemed to work when I upgraded Ant.
    Here is mine for reference: Apache Ant version 1.7.0 compiled on August 29
    2007

    This is on Ubuntu.

    hope that helps,
    Travis
    On Fri, Jun 6, 2008 at 4:27 PM, Rafael Turk wrote:

    Hello folks!


    I've been trying to build Pig from trunk, but I've got the following error:

    Buildfile: build.xml
    BUILD FAILED
    /projetos/woovi/pig/trunk/build.xml:135: Problem: failed to create task or
    type jjtree
    Cause: the class org.apache.tools.ant.taskdefs.optional.javacc.JJTree was
    not found.
    This looks like one of Ant's optional components.
    Action: Check that the appropriate optional JAR exists in
    -/usr/share/ant/lib
    -/root/.ant/lib
    -a directory added on the command line with the -lib argument

    Do not panic, this is a common problem.
    The commonest cause is a missing JAR.
    This is not a bug; it is a configuration problem
    Total time: 0 seconds

    What I´m missing here?

    Thanks in advance,
    Rafael


    --
    Travis Brady
    Mochi Media
    www.mochiads.com
  • Pi song at Jun 7, 2008 at 12:46 am
    That means your ANT doesn't have Javacc task included. If you use apt-get
    package manager, just do:-

    apt-get install ant-optional

    On Sat, Jun 7, 2008 at 9:42 AM, Travis Brady wrote:

    I had the same issue a few months ago
    http://markmail.org/message/2eil2p4pt2p6pzhd and I never got a straight
    answer. Things seemed to work when I upgraded Ant.
    Here is mine for reference: Apache Ant version 1.7.0 compiled on August 29
    2007

    This is on Ubuntu.

    hope that helps,
    Travis
    On Fri, Jun 6, 2008 at 4:27 PM, Rafael Turk wrote:

    Hello folks!


    I've been trying to build Pig from trunk, but I've got the following error:
    Buildfile: build.xml
    BUILD FAILED
    /projetos/woovi/pig/trunk/build.xml:135: Problem: failed to create task or
    type jjtree
    Cause: the class org.apache.tools.ant.taskdefs.optional.javacc.JJTree was
    not found.
    This looks like one of Ant's optional components.
    Action: Check that the appropriate optional JAR exists in
    -/usr/share/ant/lib
    -/root/.ant/lib
    -a directory added on the command line with the -lib argument

    Do not panic, this is a common problem.
    The commonest cause is a missing JAR.
    This is not a bug; it is a configuration problem
    Total time: 0 seconds

    What I´m missing here?

    Thanks in advance,
    Rafael


    --
    Travis Brady
    Mochi Media
    www.mochiads.com

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupuser @
categoriespig, hadoop
postedJun 6, '08 at 11:27p
activeJun 7, '08 at 12:46a
posts3
users3
websitepig.apache.org

People

Translate

site design / logo © 2022 Grokbase