报错日志:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Claim
[INFO] Claim-Utils
[INFO] Claim-Configuration
[INFO] Claim-CFE
[INFO] Claim-Rules
[INFO] Claim-BPM
[INFO] Claim-IFInvoke
[INFO] Claim-Business
[INFO] Claim-Portal
[INFO] Claim-Archive
[INFO] Claim-Batch
[INFO] Claim-IFService
[INFO] Claim-Web Maven Webapp
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Claim 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Claim ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.6.3.201306030806:prepare-agent (default-prepare-agent) @ Claim ---
[INFO] Skipping JaCoCo for project with packaging type 'pom'
[INFO] argLine set to
[INFO]
[INFO] --- jacoco-maven-plugin:0.6.3.201306030806:report (default-report) @ Claim ---
[INFO] Skipping JaCoCo for project with packaging type 'pom'
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ Claim ---
[INFO] Installing D:\workspace\zhonghua\Claim\pom.xml to D:\bea\zhonghua\apache-maven-3.1.0\repo\com\cic\Claim\0.0.1-SNAPSHOT\Claim-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Claim-Utils 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Claim-Utils ---
[INFO] Deleting D:\workspace\zhonghua\Claim\Claim-Utils\target
[INFO]
[INFO] --- jacoco-maven-plugin:0.6.3.201306030806:prepare-agent (default-prepare-agent) @ Claim-Utils ---
[INFO] argLine set to -javaagent:D:\bea\zhonghua\apache-maven-3.1.0\repo\org\jacoco\org.jacoco.agent\0.6.3.201306030806\org.jacoco.agent-0.6.3.201306030806-runtime.jar=destfile=D:\workspace\zhonghua\Claim\Claim-Utils\target\jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ Claim-Utils ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\workspace\zhonghua\Claim\Claim-Utils\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ Claim-Utils ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 35 source files to D:\workspace\zhonghua\Claim\Claim-Utils\target\classes
[WARNING] 注意:D:\workspace\zhonghua\Claim\Claim-Utils\src\main\java\com\cic\claim\utils\HttpUtil.java 使用或覆盖了已过时的 API。
[WARNING] 注意:要了解详细信息,请使用 -Xlint:deprecation 重新编译。
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ Claim-Utils ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ Claim-Utils ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 6 source files to D:\workspace\zhonghua\Claim\Claim-Utils\target\test-classes
[WARNING] /D:/workspace/zhonghua/Claim/Claim-Utils/src/test/java/com/cic/claim/deploy/DeployPackageFileListGenerator.java:[53,47] D:\workspace\zhonghua\Claim\Claim-Utils\src\test\java\com\cic\claim\deploy\DeployPackageFileListGenerator.java:53: 警告:最后一个参数使用了不准确的变量类型的 varargs 方法的非 varargs 调用;
对于 varargs 调用,应使用 java.lang.Object
对于非 varargs 调用,应使用 java.lang.Object[],这样也可以抑制此警告
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ Claim-Utils ---
[INFO] Surefire report directory: D:\workspace\zhonghua\Claim\Claim-Utils\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.cic.claim.cache.ClaimBusinessObjectCacheTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/bea/zhonghua/apache-maven-3.1.0/repo/com/cic/caf/caf-core/1.1.4.4/caf-core-1.1.4.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/bea/zhonghua/apache-maven-3.1.0/repo/ch/qos/logback/logback-classic/1.0.12/logback-classic-1.0.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [com.cic.caf.core.log.LoggerFactoryWrapper]
SLF4J: The following loggers will not work because they were created
SLF4J: during the default configuration phase of the underlying logging system.
SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger
SLF4J: runtime.checking
15:22:41.161 [main] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext.xml]
15:22:41.809 [main] INFO o.s.c.s.GenericApplicationContext - Refreshing org.springframework.context.support.GenericApplicationContext@6a5eb489: startup date [Tue Aug 20 15:22:41 CST 2019]; root of context hierarchy
15:22:42.192 [main] INFO o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7a20807c: defining beans [claimBusinessObjectCache,claimExceptionContentHandler,controllerExceptionInterceptor,baseQueryDao,objectSpecEO,mysqlBatchIdentifierGeneratorImpl,mysqlSequnceService,oracleBatchIdentifierGeneratorImpl,newObjectActualLoader,objectActualLoader,equalOperator,greaterThanOperator,greaterThanOrEqualOperator,inOperator,isNotNullOperator,isNullOperator,lessThanOperator,lessThanOrEqualOperator,likeOperator,notEqualIncludeNullOperator,notEqualOperator,notInOperator,notLikeOperator,propertyValueFilterHqlComposer,quickObjectActualLoader,objectSpecService,propertySpecService,xmlObjectActualBuilder,objectActualImpl,propertyActualImpl,oracleSequnceDao,objectTreeServiceImpl,objectTreeDefinition,booleanValueConverter,dateValueConverter,doubleValueConverter,integerValueConverter,moneyValueConverter,serviceLocator,stringValueConverter,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,cacheManager,businessObjectCache,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
15:22:42.221 [main] INFO com.cic.tom.util.ServiceLocator - ------->>> setApplicationContext ......
15:22:42.401 [main] INFO o.s.c.e.EhCacheManagerFactoryBean - Initializing EhCache CacheManager
15:22:42.683 [main] INFO c.c.c.cache.ClaimBusinessObjectCache - Set object to cache id=1232323, object=34234.34.
15:22:47.684 [main] INFO c.c.c.cache.ClaimBusinessObjectCache - Get object from cache id=1232323, object=34234.34.
15:22:47.686 [main] INFO c.c.c.cache.ClaimBusinessObjectCache - Remove object from cache id=1232323.
15:22:47.687 [main] INFO c.c.c.cache.ClaimBusinessObjectCache - Get object from cache id=1232323, object=null
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.54 sec - in com.cic.claim.cache.ClaimBusinessObjectCacheTest
Running com.cic.claim.utils.ComparatorUtilsTest
15:22:47.712 [main] INFO com.cic.claim.utils.ComparatorUtils - list1:[null, null, null, null, Fri Nov 07 08:12:12 CST 2014, Fri Nov 07 09:12:12 CST 2014, Sat Nov 07 09:12:12 CST 2015, Tue Aug 20 15:22:47 CST 2019, Tue Aug 20 15:22:47 CST 2019, Tue Aug 20 15:22:47 CST 2019, Tue Aug 20 15:22:47 CST 2019, Tue Aug 20 15:22:47 CST 2019]
15:22:47.713 [main] INFO com.cic.claim.utils.ComparatorUtils - list2:[null, null, null, null, Fri Nov 07 08:12:12 CST 2014, Fri Nov 07 09:12:12 CST 2014, Sat Nov 07 09:12:12 CST 2015, Tue Aug 20 15:22:47 CST 2019, Tue Aug 20 15:22:47 CST 2019, Tue Aug 20 15:22:47 CST 2019, Tue Aug 20 15:22:47 CST 2019, Tue Aug 20 15:22:47 CST 2019]
true
false
-1
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in com.cic.claim.utils.ComparatorUtilsTest
Running com.cic.claim.utils.TestUtilsTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec <<< FAILURE! - in com.cic.claim.utils.TestUtilsTest
testSplit(com.cic.claim.utils.TestUtilsTest) Time elapsed: 0.005 sec <<< FAILURE!
java.lang.AssertionError: expected:<7> but was:<8>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at com.cic.claim.utils.TestUtilsTest.testSplit(TestUtilsTest.java:21)

Running com.cic.claim.utils.ValidateUtilsTest
INFO: 为了在生产运行中能正常运行,需要设置-DserverIP=XXX -DserverPort=XXX。
INFO: 建议设置-DappServerID以便能更简单的标示。
INFO: ---------------------------系统参数配置信息---------------------------------------------------------------------
INFO: RUN_MODE:Locale, SERVER_IP:, SERVER_PORT:, APP_SERVER_ID:, CONTEXT_ROOT:
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec - in com.cic.claim.utils.ValidateUtilsTest
15:22:47.768 [Thread-1] INFO o.s.c.s.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@6a5eb489: startup date [Tue Aug 20 15:22:41 CST 2019]; root of context hierarchy
15:22:47.771 [Thread-1] INFO o.s.b.f.s.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7a20807c: defining beans [claimBusinessObjectCache,claimExceptionContentHandler,controllerExceptionInterceptor,baseQueryDao,objectSpecEO,mysqlBatchIdentifierGeneratorImpl,mysqlSequnceService,oracleBatchIdentifierGeneratorImpl,newObjectActualLoader,objectActualLoader,equalOperator,greaterThanOperator,greaterThanOrEqualOperator,inOperator,isNotNullOperator,isNullOperator,lessThanOperator,lessThanOrEqualOperator,likeOperator,notEqualIncludeNullOperator,notEqualOperator,notInOperator,notLikeOperator,propertyValueFilterHqlComposer,quickObjectActualLoader,objectSpecService,propertySpecService,xmlObjectActualBuilder,objectActualImpl,propertyActualImpl,oracleSequnceDao,objectTreeServiceImpl,objectTreeDefinition,booleanValueConverter,dateValueConverter,doubleValueConverter,integerValueConverter,moneyValueConverter,serviceLocator,stringValueConverter,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,cacheManager,businessObjectCache,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
15:22:47.819 [Thread-1] INFO o.s.c.e.EhCacheManagerFactoryBean - Shutting down EhCache CacheManager

Results :

Failed tests:
TestUtilsTest.testSplit:21 expected:<7> but was:<8>

Tests run: 11, Failures: 1, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Claim ............................................. SUCCESS [1.336s]
[INFO] Claim-Utils ....................................... FAILURE [12.374s]
[INFO] Claim-Configuration ............................... SKIPPED
[INFO] Claim-CFE ......................................... SKIPPED
[INFO] Claim-Rules ....................................... SKIPPED
[INFO] Claim-BPM ......................................... SKIPPED
[INFO] Claim-IFInvoke .................................... SKIPPED
[INFO] Claim-Business .................................... SKIPPED
[INFO] Claim-Portal ...................................... SKIPPED
[INFO] Claim-Archive ..................................... SKIPPED
[INFO] Claim-Batch ....................................... SKIPPED
[INFO] Claim-IFService ................................... SKIPPED
[INFO] Claim-Web Maven Webapp ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.460s
[INFO] Finished at: Tue Aug 20 15:22:47 CST 2019
[INFO] Final Memory: 23M/219M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project Claim-Utils: There are test failures.
[ERROR]
[ERROR] Please refer to D:\workspace\zhonghua\Claim\Claim-Utils\target\surefire-reports for the individual test results.
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :Claim-Utils

解决:https://blog.csdn.net/a515557595_xzb/article/details/81603571

Maven install报错:MojoFailureException ,To see the full stack trace of the errors, re-run Maven with the -e switch.解决的更多相关文章

  1. maven install报错 Failed to execute goal on project my-manager-mapper: Could not resolve dependencies for project com.my:my-manager-mapper:jar:0.0.1-SNAPSHOT:

    报错信息为: [ERROR] Failed to execute goal on project my-manager-mapper: Could not resolve dependencies f ...

  2. Maven install 报错: Failed to execute goalorg.apache.maven.plugins:maven-gpg-plugin:1.4:sign (sign-art

    执行 Maven install 时报错: Failed to execute goalorg.apache.maven.plugins:maven-gpg-plugin:1.4:sign (sign ...

  3. maven install 报错 No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

    1.控制台打印信息 [INFO] Scanning for projects... [INFO] [INFO] ---------------------< org.cqupt.mauger:R ...

  4. 解决maven install报错信息(Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile )

    Maven install失败 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (d ...

  5. npm install报错Unhandled rejection RangeError: Maximum call stack size exceededill install

    故障 在使用npm install下载依赖的时候报错Unhandled rejection RangeError: Maximum call stack size exceededill instal ...

  6. 解决maven install报错:java.lang.NoClassDefFoundError: org/codehaus/plexus/compiler/util/scan/InclusionScanException

    问题:maven install时,报错:java.lang.NoClassDefFoundError: org/codehaus/plexus/compiler/util/scan/Inclusio ...

  7. maven install 报错Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project*****

    [ERROR]Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-co ...

  8. maven install 报错Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin

    Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of ...

  9. eclipse maven install 报错 jdk rather than jre?

    解决方案:window => Perference => java => install jre => 选中jre => edit => 选择文件夹为jdk的

随机推荐

  1. IDEA闪退问题

    这段时间经常遇到IDEA闪退的问题,在网上搜了一大堆的博客,无外乎是说让修改下面两个文件,但是改来改去没什么卵用,最后重装IDEA,一样的,没什么用.持续时间有几个月了,内心也有点崩溃,昨天下午彻底心 ...

  2. Vue框架前言

    Vue框架 Vue 框架: 官网 vue框架:渐进式JavaScript框架 vue一个环境:可以只控制页面中一个标签.可以控制一组标签.可以控制整个页面.可以控制整个项目 vue可以根据实际需求,选 ...

  3. CSS行内框(内联元素)

    行内框在一行中水平布置.可以使用水平内边距.边框和外边距调整它们的间距.但是,垂直内边距.边框和外边距不影响行内框的高度.由一行形成的水平框称为行框(Line Box),行框的高度总是足以容纳它包含的 ...

  4. git init error:Malformed value for push.default: simple

    git init error:Malformed value for push.default: simple 1.git config --global push.default matching

  5. vim比较文件

    横向分割显示: $ vim -o filename1 filename2 纵向分割显示: $ vim -O filename1 filename2 ctl w w 切换文件

  6. GUI学习之二十七——布局管理学习总结

    今天讲一个大的内容——布局管理. 一.布局管理的诞生背景 在前面所讲的所有案例中,我们都是用采用手动布局的方式来布局的.结合个案例来说明一下:在一个界面上放三个label,三个label纵向排列 fr ...

  7. java Character类源码分析

    一.使用 构建Character对象: public class CharTest { public static void main(String[] args) { Character c1 = ...

  8. TCP/IP基础总结性学习(7)

    确保 Web 安全的 HTTPS 在 HTTP 协议中有可能存在信息窃听或身份伪装等安全问题.使用 HTTPS 通信机制可以有效地防止这些问题. 一. HTTP 的缺点 HTTP 主要有这些不足,例举 ...

  9. Linux相关TCP参数优化: proc/sys/net/ipv4/ 提高web质量

    tcp_wmem(3个INTEGER变量): min, default, max min:为TCP socket预留用于发送缓冲的内存最小值.每个tcp socket都可以在建议以后都可以使用它.默认 ...

  10. HBase过滤器(转载)

    HBase为筛选数据提供了一组过滤器,通过这个过滤器可以在HBase中的数据的多个维度(行,列,数据版本)上进行对数据的筛选操作,也就是说过滤器最终能够筛选的数据能够细化到具体的一个存储单元格上(由行 ...