设为首页收藏本站

JEECG官方网站-企业级JAVA快速开发平台

 找回密码
 立即注册

关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 最新动态 - 技术支持 - 师徒架构班

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

商务 QQ: 3102411850、418799587 商务热线: 18611788525 客服电话: 010-64808099 官方邮箱: jeecgos@163.com

查看: 94|回复: 0

项目打包异常

[复制链接]

10

主题

0

好友

75

积分

注册会员

Rank: 3Rank: 3

发表于 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
您需要登录后才可以回帖 登录 | 立即注册

Archiver|手机版|JEECG官方网站-企业级JAVA快速开发平台 ( 京ICP备12013567号-3 )  

GMT+8, 2019-3-19 23:38 , Processed in 2.230804 second(s), 23 queries , Gzip On, Memcache On.

JEECG Open Source

© 2001-2012 Comsenz Inc.

回顶部