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

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

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

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

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.

BUILD FAILED in 2m 16s
java.lang.Exception: Duplicate confirmation of competition information.

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