Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> Ant BUILD FAILED

Hi all,
I am new to PIG. I checked out Pig code from svn with svn co

Then I moved to the trunk directory and ran apt command. I am getting build
failed error. This is the error.


/usr/local/pig-0.10.0/trunk/build.xml:406: Problem: failed to create task
or type javacc
Cause: the class org.apache.tools.ant.taskdefs.optional.javacc.JavaCC was
not found.
        This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
        -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: 18 seconds

Can some on help me how to resolve this?

pablomar 2012-11-24, 17:04
Satya Sundeep Kambhampati... 2012-11-24, 17:13