关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 5977|回复: 0

项目打包异常

[复制链接]
发表于 2019-3-2 13:53:49 | 显示全部楼层 |阅读模式
[ERROR] Tests run: 3, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 17.479 s <<< FAILURE! - in org.jeecg.SampleTest
[ERROR] testTran(org.jeecg.SampleTest)  Time elapsed: 0.833 s  <<< ERROR!
java.lang.NumberFormatException: For input string: "hello"
        at org.jeecg.SampleTest.testTran(SampleTest.java:45)

[ERROR] testSelect(org.jeecg.SampleTest)  Time elapsed: 0.042 s  <<< FAILURE!
java.lang.AssertionError: expected:<5> but was:<15>
        at org.jeecg.SampleTest.testSelect(SampleTest.java:29)

2019-03-02 13:51:53.959 [Thread-4] INFO  o.s.w.context.support.GenericWebApplicationContext:993 - Closing org.springframework.web.context.support.GenericWebApplicationContext@71454b9d: startup date [Sat Mar 02 13:51:38 CST 2019]; root of context hierarchy
2019-03-02 13:51:53.964 [Thread-4] INFO  o.s.context.support.DefaultLifecycleProcessor:366 - Stopping beans in phase 2147483647
2019-03-02 13:51:53.967 [Thread-4] INFO  org.quartz.core.QuartzScheduler:585 - Scheduler quartzScheduler_$_NON_CLUSTERED paused.
2019-03-02 13:51:53.978 [Thread-4] INFO  o.s.scheduling.quartz.SchedulerFactoryBean:824 - Shutting down Quartz Scheduler
2019-03-02 13:51:53.979 [Thread-4] INFO  org.quartz.core.QuartzScheduler:666 - Scheduler quartzScheduler_$_NON_CLUSTERED shutting down.
2019-03-02 13:51:53.979 [Thread-4] INFO  org.quartz.core.QuartzScheduler:585 - Scheduler quartzScheduler_$_NON_CLUSTERED paused.
2019-03-02 13:51:53.980 [Thread-4] INFO  org.quartz.core.QuartzScheduler:740 - Scheduler quartzScheduler_$_NON_CLUSTERED shutdown complete.
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   SampleTest.testSelect:29 expected:<5> but was:<15>
[ERROR] Errors:
[ERROR]   SampleTest.testTran:45 » NumberFormat For input string: "hello"
[INFO]
[ERROR] Tests run: 3, Failures: 1, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.835 s
[INFO] Finished at: 2019-03-02T13:51:54+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project jeecg-boot: There are test failures.
[ERROR]
[ERROR] Please refer to D:\workspace\jeecg-boot\jeecg-boot\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[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/confluen ... ojoFailureException

打包异常.png
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表