0001.java.lang.IllegalStateException: Could not load TestContextBootstrapper [null].

错误简要信息

java.lang.IllegalStateException: Could not load TestContextBootstrapper [null].  
Specify @BootstrapWith's 'value' attribute or make the default bootstrapper class available.

错误完整信息如下:

"C:\Program Files\Java\jdk1.8.0_111\bin\java" -ea -Didea.launcher.port=7536 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.1.3\bin" -Didea.junit.sm_runner -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.1.3\lib\idea_rt.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.1.3\plugins\junit\lib\junit-rt.jar;D:\Program Files\apache-cxf-3.1.6\lib\activemq-broker-5.12.0.jar;D:\Program Files\apache-cxf-3.1.6\lib\activemq-client-5.12.0.jar;D:\Program Files\apache-cxf-3.1.6\lib\activemq-openwire-legacy-5.12.0.jar;D:\Program Files\apache-cxf-3.1.6\lib\antlr-2.7.7.jar;D:\Program Files\apache-cxf-3.1.6\lib\aopalliance-1.0.jar;D:\Program Files\apache-cxf-3.1.6\lib\asm-5.0.4.jar;D:\Program Files\apache-cxf-3.1.6\lib\bcprov-jdk15on-1.54.jar;D:\Program Files\apache-cxf-3.1.6\lib\commons-codec-1.10.jar;D:\Program Files\apache-cxf-3.1.6\lib\commons-collections-3.2.2.jar;D:\Program Files\apache-cxf-3.1.6\lib\commons-lang-2.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cryptacular-1.0.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-core-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-manifest.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-bindings-coloc-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-bindings-corba-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-bindings-object-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-bindings-soap-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-bindings-xml-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-databinding-aegis-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-databinding-jaxb-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-databinding-jibx-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-databinding-sdo-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-databinding-xmlbeans-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-features-clustering-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-frontend-jaxrs-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-frontend-jaxws-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-frontend-js-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-frontend-simple-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-javascript-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-management-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-client-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-extension-providers-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-extension-search-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-json-basic-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-security-cors-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-security-jose-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-security-jose-jaxrs-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-security-oauth-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-security-oauth2-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-security-sso-saml-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-security-xml-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-rs-service-description-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-security-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-security-saml-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-transports-http-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-transports-http-hc-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-transports-http-netty-client-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-transports-http-netty-server-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-transports-jms-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-transports-local-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-transports-udp-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-ws-addr-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-ws-mex-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-ws-policy-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-ws-rm-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-ws-security-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-rt-wsdl-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-services-sts-core-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-services-ws-discovery-api-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-services-ws-discovery-service-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-services-wsn-api-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-services-wsn-core-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-tools-common-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-tools-corba-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-tools-java2ws-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-tools-misctools-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-tools-validator-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-tools-wadlto-jaxrs-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-tools-wsdlto-core-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-tools-wsdlto-databinding-jaxb-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-tools-wsdlto-frontend-javascript-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-tools-wsdlto-frontend-jaxws-3.1.6.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-xjc-boolean-3.0.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-xjc-bug671-3.0.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-xjc-dv-3.0.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-xjc-javadoc-3.0.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-xjc-runtime-3.0.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\cxf-xjc-ts-3.0.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\ehcache-2.10.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\FastInfoset-1.2.13.jar;D:\Program Files\apache-cxf-3.1.6\lib\geronimo-j2ee-management_1.1_spec-1.0.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\geronimo-javamail_1.4_spec-1.7.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\geronimo-jms_1.1_spec-1.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\geronimo-jta_1.1_spec-1.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\geronimo-servlet_3.0_spec-1.0.jar;D:\Program Files\apache-cxf-3.1.6\lib\guava-18.0.jar;D:\Program Files\apache-cxf-3.1.6\lib\hawtbuf-1.11.jar;D:\Program Files\apache-cxf-3.1.6\lib\httpasyncclient-4.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\httpclient-4.5.2.jar;D:\Program Files\apache-cxf-3.1.6\lib\httpcore-4.4.4.jar;D:\Program Files\apache-cxf-3.1.6\lib\httpcore-nio-4.4.4.jar;D:\Program Files\apache-cxf-3.1.6\lib\jasypt-1.9.2.jar;D:\Program Files\apache-cxf-3.1.6\lib\java-support-7.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\javax.annotation-api-1.2.jar;D:\Program Files\apache-cxf-3.1.6\lib\javax.ws.rs-api-2.0.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\jaxb-core-2.2.11.jar;D:\Program Files\apache-cxf-3.1.6\lib\jaxb-impl-2.2.11.jar;D:\Program Files\apache-cxf-3.1.6\lib\jcl-over-slf4j-1.7.19.jar;D:\Program Files\apache-cxf-3.1.6\lib\jettison-1.3.7.jar;D:\Program Files\apache-cxf-3.1.6\lib\joda-time-2.7.jar;D:\Program Files\apache-cxf-3.1.6\lib\js-1.7R2.jar;D:\Program Files\apache-cxf-3.1.6\lib\mina-core-2.0.9.jar;D:\Program Files\apache-cxf-3.1.6\lib\neethi-3.0.3.jar;D:\Program Files\apache-cxf-3.1.6\lib\oauth-20100527.jar;D:\Program Files\apache-cxf-3.1.6\lib\oauth-provider-20100527.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-core-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-profile-api-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-saml-api-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-saml-impl-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-security-api-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-security-impl-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-soap-api-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-xacml-api-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-xacml-impl-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-xacml-saml-api-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-xacml-saml-impl-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-xmlsec-api-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\opensaml-xmlsec-impl-3.1.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\slf4j-api-1.7.19.jar;D:\Program Files\apache-cxf-3.1.6\lib\slf4j-jdk14-1.7.19.jar;D:\Program Files\apache-cxf-3.1.6\lib\spring-aop-4.1.9.RELEASE.jar;D:\Program Files\apache-cxf-3.1.6\lib\spring-beans-4.1.9.RELEASE.jar;D:\Program Files\apache-cxf-3.1.6\lib\spring-context-4.1.9.RELEASE.jar;D:\Program Files\apache-cxf-3.1.6\lib\spring-core-4.1.9.RELEASE.jar;D:\Program Files\apache-cxf-3.1.6\lib\spring-expression-4.1.9.RELEASE.jar;D:\Program Files\apache-cxf-3.1.6\lib\spring-web-4.1.9.RELEASE.jar;D:\Program Files\apache-cxf-3.1.6\lib\stax2-api-3.1.4.jar;D:\Program Files\apache-cxf-3.1.6\lib\velocity-1.7.jar;D:\Program Files\apache-cxf-3.1.6\lib\woodstox-core-asl-4.4.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\wsdl4j-1.6.3.jar;D:\Program Files\apache-cxf-3.1.6\lib\wss4j-bindings-2.1.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\wss4j-policy-2.1.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\wss4j-ws-security-common-2.1.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\wss4j-ws-security-dom-2.1.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\wss4j-ws-security-policy-stax-2.1.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\wss4j-ws-security-stax-2.1.5.jar;D:\Program Files\apache-cxf-3.1.6\lib\xml-resolver-1.2.jar;D:\Program Files\apache-cxf-3.1.6\lib\xmlbeans-2.6.0.jar;D:\Program Files\apache-cxf-3.1.6\lib\xmlschema-core-2.2.1.jar;D:\Program Files\apache-cxf-3.1.6\lib\xmlsec-2.0.6.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_111\jre\lib\rt.jar;G:\workspace\ideaWorkSpace\access_control_mgt\target\test-classes;G:\workspace\ideaWorkSpace\access_control_mgt\target\classes;D:\maven\repo\junit\junit\4.12\junit-4.12.jar;D:\maven\repo\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;D:\maven\repo\org\springframework\spring-test\4.3.6.RELEASE\spring-test-4.3.6.RELEASE.jar;D:\maven\repo\org\springframework\spring-core\4.3.6.RELEASE\spring-core-4.3.6.RELEASE.jar;D:\maven\repo\org\slf4j\slf4j-api\1.7.22\slf4j-api-1.7.22.jar;D:\maven\repo\org\slf4j\slf4j-jdk14\1.7.22\slf4j-jdk14-1.7.22.jar;D:\maven\repo\log4j\log4j\1.2.12\log4j-1.2.12.jar;D:\maven\repo\com\stee\dsms_framework\v0.0.14\dsms_framework-v0.0.14.jar;D:\maven\repo\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;D:\maven\repo\org\springframework\spring-aop\4.3.6.RELEASE\spring-aop-4.3.6.RELEASE.jar;D:\maven\repo\org\springframework\spring-beans\4.3.6.RELEASE\spring-beans-4.3.6.RELEASE.jar;D:\maven\repo\org\springframework\spring-aspects\4.3.6.RELEASE\spring-aspects-4.3.6.RELEASE.jar;D:\maven\repo\org\aspectj\aspectjweaver\1.5.4\aspectjweaver-1.5.4.jar;D:\maven\repo\org\springframework\spring-context\4.3.6.RELEASE\spring-context-4.3.6.RELEASE.jar;D:\maven\repo\org\springframework\spring-expression\4.3.6.RELEASE\spring-expression-4.3.6.RELEASE.jar;D:\maven\repo\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;D:\maven\repo\org\springframework\spring-orm\4.3.6.RELEASE\spring-orm-4.3.6.RELEASE.jar;D:\maven\repo\org\springframework\spring-jdbc\4.3.6.RELEASE\spring-jdbc-4.3.6.RELEASE.jar;D:\maven\repo\org\springframework\spring-tx\4.3.6.RELEASE\spring-tx-4.3.6.RELEASE.jar;D:\maven\repo\org\springframework\spring-web\4.3.6.RELEASE\spring-web-4.3.6.RELEASE.jar;D:\maven\repo\org\springframework\data\spring-data-jpa\1.11.0.RELEASE\spring-data-jpa-1.11.0.RELEASE.jar;D:\maven\repo\org\springframework\data\spring-data-commons\1.13.0.RELEASE\spring-data-commons-1.13.0.RELEASE.jar;D:\maven\repo\org\slf4j\jcl-over-slf4j\1.7.22\jcl-over-slf4j-1.7.22.jar;D:\maven\repo\org\aspectj\aspectjrt\1.8.10\aspectjrt-1.8.10.jar;D:\maven\repo\org\hibernate\hibernate-core\4.3.11.Final\hibernate-core-4.3.11.Final.jar;D:\maven\repo\org\jboss\logging\jboss-logging\3.1.3.GA\jboss-logging-3.1.3.GA.jar;D:\maven\repo\org\jboss\logging\jboss-logging-annotations\1.2.0.Beta1\jboss-logging-annotations-1.2.0.Beta1.jar;D:\maven\repo\org\jboss\spec\javax\transaction\jboss-transaction-api_1.2_spec\1.0.0.Final\jboss-transaction-api_1.2_spec-1.0.0.Final.jar;D:\maven\repo\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;D:\maven\repo\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar;D:\maven\repo\org\hibernate\common\hibernate-commons-annotations\4.0.5.Final\hibernate-commons-annotations-4.0.5.Final.jar;D:\maven\repo\org\hibernate\javax\persistence\hibernate-jpa-2.1-api\1.0.0.Final\hibernate-jpa-2.1-api-1.0.0.Final.jar;D:\maven\repo\org\javassist\javassist\3.18.1-GA\javassist-3.18.1-GA.jar;D:\maven\repo\antlr\antlr\2.7.7\antlr-2.7.7.jar;D:\maven\repo\org\jboss\jandex\1.1.0.Final\jandex-1.1.0.Final.jar;D:\maven\repo\org\hibernate\hibernate-ehcache\4.3.11.Final\hibernate-ehcache-4.3.11.Final.jar;D:\maven\repo\net\sf\ehcache\ehcache-core\2.4.3\ehcache-core-2.4.3.jar;D:\maven\repo\org\hibernate\hibernate-entitymanager\4.3.11.Final\hibernate-entitymanager-4.3.11.Final.jar;D:\maven\repo\mysql\mysql-connector-java\5.1.22\mysql-connector-java-5.1.22.jar;D:\maven\repo\c3p0\c3p0\0.9.1.2\c3p0-0.9.1.2.jar;D:\maven\repo\com\stee\ojdbc\v17\ojdbc-v17.jar;D:\maven\repo\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar;D:\maven\repo\org\apache\cxf\cxf-rt-frontend-jaxws\3.1.10\cxf-rt-frontend-jaxws-3.1.10.jar;D:\maven\repo\xml-resolver\xml-resolver\1.2\xml-resolver-1.2.jar;D:\maven\repo\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;D:\maven\repo\org\apache\cxf\cxf-core\3.1.10\cxf-core-3.1.10.jar;D:\maven\repo\org\codehaus\woodstox\woodstox-core-asl\4.4.1\woodstox-core-asl-4.4.1.jar;D:\maven\repo\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;D:\maven\repo\org\apache\ws\xmlschema\xmlschema-core\2.2.1\xmlschema-core-2.2.1.jar;D:\maven\repo\org\apache\cxf\cxf-rt-bindings-soap\3.1.10\cxf-rt-bindings-soap-3.1.10.jar;D:\maven\repo\org\apache\cxf\cxf-rt-wsdl\3.1.10\cxf-rt-wsdl-3.1.10.jar;D:\maven\repo\wsdl4j\wsdl4j\1.6.3\wsdl4j-1.6.3.jar;D:\maven\repo\org\apache\cxf\cxf-rt-databinding-jaxb\3.1.10\cxf-rt-databinding-jaxb-3.1.10.jar;D:\maven\repo\com\sun\xml\bind\jaxb-impl\2.2.11\jaxb-impl-2.2.11.jar;D:\maven\repo\com\sun\xml\bind\jaxb-core\2.2.11\jaxb-core-2.2.11.jar;D:\maven\repo\org\apache\cxf\cxf-rt-bindings-xml\3.1.10\cxf-rt-bindings-xml-3.1.10.jar;D:\maven\repo\org\apache\cxf\cxf-rt-frontend-simple\3.1.10\cxf-rt-frontend-simple-3.1.10.jar;D:\maven\repo\org\apache\cxf\cxf-rt-ws-addr\3.1.10\cxf-rt-ws-addr-3.1.10.jar;D:\maven\repo\org\apache\cxf\cxf-rt-ws-policy\3.1.10\cxf-rt-ws-policy-3.1.10.jar;D:\maven\repo\org\apache\neethi\neethi\3.0.3\neethi-3.0.3.jar;D:\maven\repo\org\apache\cxf\cxf-rt-transports-http\3.1.10\cxf-rt-transports-http-3.1.10.jar;D:\maven\repo\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\maven\repo\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar" com.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 com.stee.accessCtrlMgt.dao.ACEDaoTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/Program%20Files/apache-cxf-3.1.6/lib/slf4j-jdk14-1.7.19.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/D:/maven/repo/org/slf4j/slf4j-jdk14/1.7.22/slf4j-jdk14-1.7.22.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 [org.slf4j.impl.JDK14LoggerFactory]

java.lang.IllegalStateException: Could not load TestContextBootstrapper [null]. Specify @BootstrapWith's 'value' attribute or make the default bootstrapper class available.

    at org.springframework.test.context.BootstrapUtils.resolveTestContextBootstrapper(BootstrapUtils.java:143)
    at org.springframework.test.context.TestContextManager.<init>(TestContextManager.java:105)
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTestContextManager(SpringJUnit4ClassRunner.java:152)
    at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.<init>(SpringJUnit4ClassRunner.java:143)
    at org.springframework.test.context.junit4.SpringRunner.<init>(SpringRunner.java:49)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
    at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
    at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
    at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:98)
    at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
    at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotatedElementUtils.findAllMergedAnnotations(Ljava/lang/reflect/AnnotatedElement;Ljava/lang/Class;)Ljava/util/Set;
    at org.springframework.test.context.BootstrapUtils.resolveExplicitTestContextBootstrapper(BootstrapUtils.java:150)
    at org.springframework.test.context.BootstrapUtils.resolveTestContextBootstrapper(BootstrapUtils.java:126)
    ... 23 more


Process finished with exit code -1

错误原因:

  1. 在使用Intellj Idea在当前项目中使用本地Apache cxf工具生成WebService客户端时,在项目扩展库中引入了Apache cxf的运行环境库"CXF Runtime",导致slf4j包冲突,如下图:
测试异常情况下工程库

解决方式:

删除Apache cxf本地运行环境依赖库"CXF Runtime"后Spring Junit Test测试正常运行。

删除CXF Runtime
删除CXF Runtime后工程库
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 212,294评论 6 493
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,493评论 3 385
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 157,790评论 0 348
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,595评论 1 284
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 65,718评论 6 386
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 49,906评论 1 290
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,053评论 3 410
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,797评论 0 268
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,250评论 1 303
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,570评论 2 327
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,711评论 1 341
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,388评论 4 332
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,018评论 3 316
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,796评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,023评论 1 266
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,461评论 2 360
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,595评论 2 350

推荐阅读更多精彩内容