Giter VIP home page Giter VIP logo

Comments (2)

rawchen avatar rawchen commented on August 22, 2024

from blog.

artuoliya avatar artuoliya commented on August 22, 2024

搜maven打包跳过测试

---原始邮件--- 发件人: @.> 发送时间: 2022年1月25日 10:37:00 收件人: @.>; 抄送: @.>; 主题: [rawchen/Blog] 您好,后台编译过程中报错请问这是什么原因? (Issue #3) [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.95 s <<< FAILURE! - in com.rawchen.BlogApiApplicationTests [ERROR] test02 Time elapsed: 0.014 s <<< ERROR! java.lang.IllegalStateException: Expected method not found: java.lang.NoSuchMethodException: java.lang.String.valueOf(java.lang.String) at com.rawchen.BlogApiApplicationTests.test02(BlogApiApplicationTests.java:26) 2022-01-25 10:35:34.971 INFO 3316 --- [extShutdownHook] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler_$NON_CLUSTERED paused. 2022-01-25 10:35:34.982 INFO 3316 --- [extShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 2022-01-25 10:35:34.984 INFO 3316 --- [extShutdownHook] o.s.s.quartz.SchedulerFactoryBean : Shutting down Quartz Scheduler 2022-01-25 10:35:34.985 INFO 3316 --- [extShutdownHook] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler$NON_CLUSTERED shutting down. 2022-01-25 10:35:34.986 INFO 3316 --- [extShutdownHook] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler$NON_CLUSTERED paused. 2022-01-25 10:35:34.987 INFO 3316 --- [extShutdownHook] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler$_NON_CLUSTERED shutdown complete. 2022-01-25 10:35:35.142 INFO 3316 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2022-01-25 10:35:35.170 INFO 3316 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] BlogApiApplicationTests.test02:26 ? IllegalState Expected method not found: ja... [INFO] [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.522 s [INFO] Finished at: 2022-01-25T10:35:35+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project blog-api: There are test failures. [ERROR] [ERROR] Please refer to /root/Blog/blog-api/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].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/confluence/display/MAVEN/MojoFailureException — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.>

搜maven打包跳过测试

---原始邮件--- 发件人: @.> 发送时间: 2022年1月25日 10:37:00 收件人: @.>; 抄送: @.>; 主题: [rawchen/Blog] 您好,后台编译过程中报错请问这是什么原因? (Issue #3) [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.95 s <<< FAILURE! - in com.rawchen.BlogApiApplicationTests [ERROR] test02 Time elapsed: 0.014 s <<< ERROR! java.lang.IllegalStateException: Expected method not found: java.lang.NoSuchMethodException: java.lang.String.valueOf(java.lang.String) at com.rawchen.BlogApiApplicationTests.test02(BlogApiApplicationTests.java:26) 2022-01-25 10:35:34.971 INFO 3316 --- [extShutdownHook] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler_$NON_CLUSTERED paused. 2022-01-25 10:35:34.982 INFO 3316 --- [extShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 2022-01-25 10:35:34.984 INFO 3316 --- [extShutdownHook] o.s.s.quartz.SchedulerFactoryBean : Shutting down Quartz Scheduler 2022-01-25 10:35:34.985 INFO 3316 --- [extShutdownHook] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler$NON_CLUSTERED shutting down. 2022-01-25 10:35:34.986 INFO 3316 --- [extShutdownHook] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler$NON_CLUSTERED paused. 2022-01-25 10:35:34.987 INFO 3316 --- [extShutdownHook] org.quartz.core.QuartzScheduler : Scheduler quartzScheduler$_NON_CLUSTERED shutdown complete. 2022-01-25 10:35:35.142 INFO 3316 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2022-01-25 10:35:35.170 INFO 3316 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. [INFO] [INFO] Results: [INFO] [ERROR] Errors: [ERROR] BlogApiApplicationTests.test02:26 ? IllegalState Expected method not found: ja... [INFO] [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.522 s [INFO] Finished at: 2022-01-25T10:35:35+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project blog-api: There are test failures. [ERROR] [ERROR] Please refer to /root/Blog/blog-api/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].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/confluence/display/MAVEN/MojoFailureException — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.>

好的谢谢。

from blog.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.