s2jh4net mvn install中出现错误。

sdrgroup 发布于 2015/10/29 17:27
阅读 34
收藏 0

@S2JH 你好,想跟你请教个问题:

我在使用s2jh4net时,按照你的开发环境配置,结果总是在mvn install中出现错误,换了电脑也是这样。请问如何解决这个问题。谢谢。

Results :

Tests in error:
  QueryCacheTest.query:32 NullPointer
  TableSeqGeneratorTest.testDefaultedTableBackedConfiguration » NullPointer

Tests run: 13, Failures: 0, Errors: 2, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.464 s
[INFO] Finished at: 2015-10-29T17:23:33+08:00
[INFO] Final Memory: 16M/303M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project s2jh4net: There are test failures.
[ERROR] Please refer to /home/aj/Work/Dev/s2jh4net/s2jh4net/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[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] 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