'com.google.guava version upgrade from 20.0 to 30.0-jre

we are working on spring3 application so due to veracode issues i am trying to upgrade library com.google.guava 20.0 to 30.0-jre, getting below errors

Error :

2022-04-29 15:06:33,303 [ERROR] Errors: 
2022-04-29 15:06:33,303 [ERROR]   OcbServletSpringConfigTest.testOcbServletContextLoads_and_all_listed_beans_are_not_null:45 ? BeanCreation
2022-04-29 15:06:33,303 [INFO] 
2022-04-29 15:06:33,303 [ERROR] Tests run: 449, Failures: 0, Errors: 1, Skipped: 363
2022-04-29 15:06:33,303 [INFO] 
2022-04-29 15:06:33,308 [INFO] ------------------------------------------------------------------------
2022-04-29 15:06:33,308 [INFO] BUILD FAILURE
2022-04-29 15:06:33,308 [INFO] ------------------------------------------------------------------------
2022-04-29 15:06:33,309 [INFO] Total time:  44.284 s (Wall Clock)
2022-04-29 15:06:33,309 [INFO] Finished at: 2022-04-29T15:06:33+05:30
2022-04-29 15:06:33,309 [INFO] ------------------------------------------------------------------------
2022-04-29 15:06:33,310 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project prexoom: There are test failures.
2022-04-29 15:06:33,310 [ERROR] 
2022-04-29 15:06:33,310 [ERROR] Please refer to /Users/bkothuru/dev/PLAT/prexoom/target/surefire-reports for the individual test results.
2022-04-29 15:06:33,310 [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
2022-04-29 15:06:33,310 [ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project prexoom: There are test failures.

Please refer to /Users/bkothuru/dev/PLAT/prexoom/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:196)
    at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:186)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:511)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:748)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to /Users/bkothuru/dev/PLAT/prexoom/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
    at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:240)
    at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:112)
    at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary (SurefirePlugin.java:354)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked (AbstractSurefireMojo.java:984)
    at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute (AbstractSurefireMojo.java:832)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:196)
    at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call (MultiThreadedBuilder.java:186)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:511)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:748)
2022-04-29 15:06:33,314 [ERROR] 
2022-04-29 15:06:33,314 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
2022-04-29 15:06:33,314 [ERROR] 
2022-04-29 15:06:33,314 [ERROR] For more information about the errors and possible solutions, please read the following articles:
2022-04-29 15:06:33,314 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source