【发布时间】:2013-02-01 17:50:59
【问题描述】:
我想从https://github.com/rtyley/spongycastle/archive/spongy-master.zip(SpongeCastle 库)编译和构建一个 jar 文件
但是,当我尝试测试 MVN 时,MVN 显示以下错误 (JDK 1.6.0_37、Maven 3.0.4、Mac OSX 雪豹)
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on project scpg-jdk15on: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/Lara/Desktop/BlowFish/spongycastle-spongy-master/scpg-jdk15on/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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :scpg-jdk15on
我该如何解决这个错误?
【问题讨论】:
-
您阅读错误信息了吗?
-
邮件中有什么不清楚的地方?
-
工件似乎适用于 jdk 1.5 而您使用的是 jdk 1.6 ...也许是问题的原因?查看 /Users/Lara/Desktop/BlowFish/spongycastle-spongy-master/scpg-jdk15on/target/surefire-reports
-
所有错误都包含 [Caused by: java.lang.SecurityException: JCE cannot authenticate the provider SC] 这是什么意思?,如何验证 provider SC?