-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUILD FAILED #33
Comments
Hello,
You need to install scala and make sure that its bin directory on you PATH:
I am assuming that SCALA_HOME is the place you will install scala.
I am using scala-2.11.8.
export PATH=$SCALA_HOME/bin:$JAVA_HOME/bin:$ANT_HOME/bin:$HADOOP_HOME/bin:$PATH
Hope this helps,
best regards,
Mahmoud Parsian
… On Jun 14, 2019, at 7:20 AM, hanyun2019 ***@***.***> wrote:
UserdeMacBook-Pro:data-algorithms-book user$ ant
Buildfile: /Users/user/Documents/Hadoop/data-algorithms-book/build.xml
init:
[mkdir] Created dir: /Users/user/Documents/Hadoop/data-algorithms-book/build
[mkdir] Created dir: /Users/user/Documents/Hadoop/data-algorithms-book/dist
[taskdef] Could not load definitions from resource scala/tools/ant/antlib.xml. It could not be found.
build_jar:
[echo] compiling scala src...
BUILD FAILED
/Users/user/Documents/Hadoop/data-algorithms-book/build.xml:34: Problem: failed to create task or type scalac
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#33?email_source=notifications&email_token=AATUJUH4GWJEARQ5S7QY5A3P2OSLRA5CNFSM4HYIKJIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZSGHFQ>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AATUJUHKLD7SK6GI76WEOYLP2OSLRANCNFSM4HYIKJIA>.
|
Also, you can build with maven: mvn clean package |
This is resolved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
UserdeMacBook-Pro:data-algorithms-book user$ ant
Buildfile: /Users/user/Documents/Hadoop/data-algorithms-book/build.xml
init:
[mkdir] Created dir: /Users/user/Documents/Hadoop/data-algorithms-book/build
[mkdir] Created dir: /Users/user/Documents/Hadoop/data-algorithms-book/dist
[taskdef] Could not load definitions from resource scala/tools/ant/antlib.xml. It could not be found.
build_jar:
[echo] compiling scala src...
BUILD FAILED
/Users/user/Documents/Hadoop/data-algorithms-book/build.xml:34: Problem: failed to create task or type scalac
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any / declarations have taken place.
The text was updated successfully, but these errors were encountered: