Skip to content
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

Closed
hanyun2019 opened this issue Jun 14, 2019 · 3 comments
Closed

BUILD FAILED #33

hanyun2019 opened this issue Jun 14, 2019 · 3 comments

Comments

@hanyun2019
Copy link

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.

@mahmoudparsian
Copy link
Owner

mahmoudparsian commented Jun 14, 2019 via email

@mahmoudparsian
Copy link
Owner

Also, you can build with maven:

mvn clean package

@mahmoudparsian
Copy link
Owner

This is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants