-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Building and Running the Code #26
Comments
try to use root permission like |
I encountered the same problem. Have you solved it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I followed the instructions to build and run the book's project code. So I have first installed Maven (lastest version) and Java (v. 1.7.0_91). Then I type the following command
% mvn package -DskipTests
However, I've got the following compilation errors:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project common: Fatal error compiling: directory not found: /home/hadoop-book-master/common/target/classes -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :common
Looking at the /common folder I actually could not find the target/classes folder. What should I do?
Thanks
The text was updated successfully, but these errors were encountered: