You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wayne@ubuntu:/raft-java/raft-java-example$ sudo sh deploy.sh
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< com.github.wenweihu86.raft:raft-java-example >------------
[INFO] Building raft-java-example 1.9.0
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.github.wenweihu86.raft:raft-java-core:jar:1.9.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.661 s
[INFO] Finished at: 2020-01-23T05:00:17-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project raft-java-example: Could not resolve dependencies for project com.github.wenweihu86.raft:raft-java-example:jar:1.9.0: Failure to find com.github.wenweihu86.raft:raft-java-core:jar:1.9.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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/DependencyResolutionException
cp: cannot stat '../../target/raft-java-example-1.9.0-deploy.tar.gz': No such file or directory
tar (child): raft-java-example-1.9.0-deploy.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
chmod: cannot access './bin/.sh': No such file or directory
/home/wayne/raft-java/raft-java-example/env
cp: cannot stat '../../target/raft-java-example-1.9.0-deploy.tar.gz': No such file or directory
tar (child): raft-java-example-1.9.0-deploy.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
nohup: appending output to 'nohup.out'
nohup: failed to run command './bin/run_server.sh': No such file or directory
chmod: cannot access './bin/.sh': No such file or directory
/home/wayne/raft-java/raft-java-example/env
nohup: appending output to 'nohup.out'
nohup: failed to run command './bin/run_server.sh': No such file or directory
cp: cannot stat '../../target/raft-java-example-1.9.0-deploy.tar.gz': No such file or directory
tar (child): raft-java-example-1.9.0-deploy.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
chmod: cannot access './bin/.sh': No such file or directory
/home/wayne/raft-java/raft-java-example/env
nohup: appending output to 'nohup.out'
nohup: failed to run command './bin/run_server.sh': No such file or directory
cp: cannot stat '../../target/raft-java-example-1.9.0-deploy.tar.gz': No such file or directory
tar (child): raft-java-example-1.9.0-deploy.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
chmod: cannot access './bin/.sh': No such file or directory
/home/wayne/raft-java/raft-java-example/env
wayne@ubuntu:/raft-java/raft-java-example$
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.764 s
[INFO] Finished at: 2020-04-23T22:23:37+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project raft-java-core: There are test failures.
[ERROR]
[ERROR] Please refer to D:\下载\raft-java-master\raft-java-core\target\surefire-reports for the individual test results.
[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/MojoFailureException
在raft-java-core里执行mvn clean install时出现上面的错误
Activity
gwnet commentedon Jan 23, 2020
deployment also fail
wayne@ubuntu:
/raft-java/raft-java-example$ sudo sh deploy.sh/raft-java/raft-java-example$[INFO] Scanning for projects...
[INFO]
[INFO] ------------< com.github.wenweihu86.raft:raft-java-example >------------
[INFO] Building raft-java-example 1.9.0
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.github.wenweihu86.raft:raft-java-core:jar:1.9.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.661 s
[INFO] Finished at: 2020-01-23T05:00:17-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project raft-java-example: Could not resolve dependencies for project com.github.wenweihu86.raft:raft-java-example:jar:1.9.0: Failure to find com.github.wenweihu86.raft:raft-java-core:jar:1.9.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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/DependencyResolutionException
cp: cannot stat '../../target/raft-java-example-1.9.0-deploy.tar.gz': No such file or directory
tar (child): raft-java-example-1.9.0-deploy.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
chmod: cannot access './bin/.sh': No such file or directory
/home/wayne/raft-java/raft-java-example/env
cp: cannot stat '../../target/raft-java-example-1.9.0-deploy.tar.gz': No such file or directory
tar (child): raft-java-example-1.9.0-deploy.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
nohup: appending output to 'nohup.out'
nohup: failed to run command './bin/run_server.sh': No such file or directory
chmod: cannot access './bin/.sh': No such file or directory
/home/wayne/raft-java/raft-java-example/env
nohup: appending output to 'nohup.out'
nohup: failed to run command './bin/run_server.sh': No such file or directory
cp: cannot stat '../../target/raft-java-example-1.9.0-deploy.tar.gz': No such file or directory
tar (child): raft-java-example-1.9.0-deploy.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
chmod: cannot access './bin/.sh': No such file or directory
/home/wayne/raft-java/raft-java-example/env
nohup: appending output to 'nohup.out'
nohup: failed to run command './bin/run_server.sh': No such file or directory
cp: cannot stat '../../target/raft-java-example-1.9.0-deploy.tar.gz': No such file or directory
tar (child): raft-java-example-1.9.0-deploy.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
chmod: cannot access './bin/.sh': No such file or directory
/home/wayne/raft-java/raft-java-example/env
wayne@ubuntu:
wenweihu86 commentedon Jan 30, 2020
先到raft-java-core里执行mvn clean install
xxsgxxn commentedon Apr 24, 2020
Tests run: 3, Failures: 1, Errors: 2, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.764 s
[INFO] Finished at: 2020-04-23T22:23:37+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project raft-java-core: There are test failures.
[ERROR]
[ERROR] Please refer to D:\下载\raft-java-master\raft-java-core\target\surefire-reports for the individual test results.
[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/MojoFailureException
在raft-java-core里执行mvn clean install时出现上面的错误