tower1235
tower1235
2019-02-14 10:05

gradle构建不成功 控制台输出如下

  • java

gradle构建不成功 控制台输出见下

Task :ms-contract:assemble UP-TO-DATE
Task :ms-contract:compileTestJava UP-TO-DATE
Task :ms-contract:processTestResources NO-SOURCE
Task :ms-contract:testClasses UP-TO-DATE

Task :ms-contract:test

com.yunlu.contract.service.ContractServiceImplTest > testSaveSalesTeam FAILED
java.lang.Exception at ContractServiceImplTest.java:56

com.yunlu.contract.service.ContractTerminateServiceImplTest > testModifyContractStatus FAILED
java.lang.AssertionError at ContractTerminateServiceImplTest.java:54

com.yunlu.contract.service.ContractTerminateServiceImplTest > testTerminateAdd FAILED
java.lang.AssertionError at ContractTerminateServiceImplTest.java:41

16 tests completed, 3 failed

Task :ms-contract:test FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':ms-contract:test'.

    There were failing tests. See the report at: file:///data/project/ms-contract/build/reports/tests/test/index.html

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 16s
查看报告只有一个这东西
java.lang.Exception: Duplicate confirmation of competition information.
不知道什么原因,求助!!!

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

0条回答