-
Notifications
You must be signed in to change notification settings - Fork 80
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.codehaus.mojo:exec-maven-plugin:1.2.1: #30
Comments
Hi AbhiMangal! This looks like a configuration error, but without the full log file, we cannot see, what's wrong on your side. "Command execution failed" is not very specific. |
cd C:\Users\Abhilasha\Documents\NetBeansProjects\Word2VecJava-master; "JAVA_HOME=C:\Program Files\Java\jdk1.8.0" cmd /c """C:\Program Files\NetBeans 8.0.1\java\maven\bin\mvn.bat" -Dexec.args="-classpath %classpath com.medallia.word2vec.Word2VecExamples" -Dexec.executable="C:\Program Files\Java\jdk1.8.0\bin\java.exe" -Dmaven.ext.class.path="C:\Program Files\NetBeans 8.0.1\java\maven-nblib\netbeans-eventspy.jar" -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.2.1:exec"" Building medallia-word2vec 0.10.2--- exec-maven-plugin:1.2.1:exec (default-cli) @ medallia-word2vec --- ... 10 moreBUILD FAILURETotal time: 6.209s Final Memory: 5M/124MFailed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project medallia-word2vec: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. For more information about the errors and possible solutions, please read the following articles: sir please see it once again |
The exception shows that you are missing the class org/slf4j/impl/StaticLoggerBinder. Have you included a SLF4J Implementation (log4j, logback or something similar)?
Then you can configure logback as usual: http://logback.qos.ch/manual/configuration.html |
alredy add this file sir .. |
Have you added the dependencies mentioned above? Have you created a logback.xml? |
Yes sir , Now its running , But which word is not containing in data set then give the error just like 👍 Building medallia-word2vec 0.10.2--- exec-maven-plugin:1.2.1:exec (default-cli) @ medallia-word2vec --- at com.medallia.word2vec.Word2VecExamples.main(Word2VecExamples.java:36)BUILD FAILURETotal time: 15.533s Final Memory: 6M/127MFailed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project medallia-word2vec: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. For more information about the errors and possible solutions, please read the following articles: |
May i run this project without maven?? |
Thanks for ur response. |
You can run Word2VecJava without Maven. You have to include all dependencies in the classpath and then you can run them. |
Yes sir , Now its running , But which word is not containing in data set then give the error just like 👍 Building medallia-word2vec 0.10.2 --- exec-maven-plugin:1.2.1:exec (default-cli) @ medallia-word2vec --- at com.medallia.word2vec.Word2VecExamples.main(Word2VecExamples.java:36) BUILD FAILURE Total time: 15.533s Final Memory: 6M/127M Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project medallia-word2vec: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. For more information about the errors and possible solutions, please read the following articles: |
Yes, this is correct and expected behavior. Please use com.medallia.word2vec.Searcher.contains(String) to check if a word is in the trained vocabulary before accessing it via getMatches() otherwise it will throw an Exception (as seen in the log) |
Hi, Can anyone help me to understand what is the reason for failure. Below are the stacktrace error details. |
I also have this problem: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project demo: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e switch. For more information about the errors and possible solutions, please read the following articles: |
same problem , any Solution ? [INFO] Building stoneage 1.0-SNAPSHOT |
Sir i want to use word2vec in my project . i add it in my project , but shows this error .
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project medallia-word2vec: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
i am using Netbeans 8.1 with maven . please tell me how can i remove it and use it. please guide me
how can i use it . Thanks
The text was updated successfully, but these errors were encountered: