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

Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (build-native-lib) on project netty-transport-native-unix-common: An Ant BuildException has occured: exec returned: 2 #10730

Closed
xiaoliang-wang opened this issue Oct 25, 2020 · 5 comments

Comments

@xiaoliang-wang
Copy link

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (build-native-lib) on project netty-transport-native-unix-common: An Ant BuildException has occured: exec returned: 2
[ERROR] around Ant part ...... @ 4:71 in /Users/wangxiaoliang/github/netty/transport-native-unix-common/target/antrun/build-main.xml
[ERROR] -> [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 :netty-transport-native-unix-common

@normanmaurer
Copy link
Member

Please include the full output

@normanmaurer
Copy link
Member

Closing as I got no response from the reporter

@AceHCL
Copy link

AceHCL commented Mar 6, 2021

楼主解决了嘛?我也遇到了

@wuhuisheng
Copy link

这个问题解决了吗?

@chrisvest
Copy link
Contributor

Make sure you've set up your development environment as described in the wiki. Capture the full output. Use the -X switch to Maven to investigate which underlying command is failing.

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

5 participants