Shuochen

Untitled

Jul 6th, 2021
15
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.57 KB | None
  1. "/Applications/IntelliJ IDEA.app/Contents/jbr/Contents/Home/bin/java" -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=51272:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit5-rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/junit/lib/junit-rt.jar:/Users/delldai/Desktop/LEEDS/Project/OpenMRS/SDK/Zhongyan Zuo/project1/omod/target/test-classes:/Users/delldai/Desktop/LEEDS/Project/OpenMRS/SDK/Zhongyan Zuo/project1/omod/target/classes:/Users/delldai/Desktop/LEEDS/Project/OpenMRS/SDK/Zhongyan Zuo/project1/api/target/classes:/Users/delldai/.m2/repository/org/openmrs/web/openmrs-web/1.11.6/openmrs-web-1.11.6.jar:/Users/delldai/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar:/Users/delldai/.m2/repository/javax/servlet/jsp-api/2.0/jsp-api-2.0.jar:/Users/delldai/.m2/repository/javax/servlet/jstl/1.1.2/jstl-1.1.2.jar:/Users/delldai/.m2/repository/org/openmrs/directwebremoting/dwr/2.0.5-mod/dwr-2.0.5-mod.jar:/Users/delldai/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/delldai/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar:/Users/delldai/.m2/repository/commons-fileupload/commons-fileupload/1.2.1/commons-fileupload-1.2.1.jar:/Users/delldai/.m2/repository/net/sf/saxon/saxon/8.7/saxon-8.7.jar:/Users/delldai/.m2/repository/net/sf/saxon/saxon-dom/8.7/saxon-dom-8.7.jar:/Users/delldai/.m2/repository/org/springframework/spring-web/3.2.7.RELEASE/spring-web-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/org/springframework/spring-webmvc/3.2.7.RELEASE/spring-webmvc-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/org/springframework/spring-expression/3.2.7.RELEASE/spring-expression-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/org/springframework/spring-oxm/3.2.7.RELEASE/spring-oxm-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/jfree/jfreechart/1.0.12/jfreechart-1.0.12.jar:/Users/delldai/.m2/repository/jfree/jcommon/1.0.15/jcommon-1.0.15.jar:/Users/delldai/.m2/repository/mysql/mysql-connector-java/5.1.28/mysql-connector-java-5.1.28.jar:/Users/delldai/.m2/repository/postgresql/postgresql/9.0-801.jdbc4/postgresql-9.0-801.jdbc4.jar:/Users/delldai/.m2/repository/net/sourceforge/jtds/jtds/1.2.4/jtds-1.2.4.jar:/Users/delldai/.m2/repository/taglibs/request/1.0.1/request-1.0.1.jar:/Users/delldai/.m2/repository/taglibs/response/1.0.1/response-1.0.1.jar:/Users/delldai/.m2/repository/taglibs/standard/1.1.2/standard-1.1.2.jar:/Users/delldai/.m2/repository/taglibs/page/1.0.1/page-1.0.1.jar:/Users/delldai/.m2/repository/org/liquibase/liquibase-core/2.0.5/liquibase-core-2.0.5.jar:/Users/delldai/.m2/repository/org/slf4j/jcl-over-slf4j/1.6.0/jcl-over-slf4j-1.6.0.jar:/Users/delldai/.m2/repository/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar:/Users/delldai/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/delldai/.m2/repository/commons-chain/commons-chain/1.1/commons-chain-1.1.jar:/Users/delldai/.m2/repository/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar:/Users/delldai/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar:/Users/delldai/.m2/repository/sslext/sslext/1.2-0/sslext-1.2-0.jar:/Users/delldai/.m2/repository/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar:/Users/delldai/.m2/repository/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar:/Users/delldai/.m2/repository/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar:/Users/delldai/.m2/repository/org/openmrs/web/openmrs-web/1.11.6/openmrs-web-1.11.6-tests.jar:/Users/delldai/.m2/repository/org/openmrs/module/uiframework-api/3.6/uiframework-api-3.6.jar:/Users/delldai/.m2/repository/com/github/jknack/handlebars/1.3.1/handlebars-1.3.1.jar:/Users/delldai/.m2/repository/org/antlr/antlr4-runtime/4.2.2/antlr4-runtime-4.2.2.jar:/Users/delldai/.m2/repository/org/antlr/antlr4-annotations/4.2.2/antlr4-annotations-4.2.2.jar:/Users/delldai/.m2/repository/org/mozilla/rhino/1.7R4/rhino-1.7R4.jar:/Users/delldai/.m2/repository/org/openmrs/api/openmrs-api/1.11.6/openmrs-api-1.11.6.jar:/Users/delldai/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/Users/delldai/.m2/repository/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar:/Users/delldai/.m2/repository/org/azeckoski/reflectutils/0.9.14/reflectutils-0.9.14.jar:/Users/delldai/.m2/repository/org/apache/velocity/velocity/1.6.2/velocity-1.6.2.jar:/Users/delldai/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar:/Users/delldai/.m2/repository/log4j/log4j/1.2.15/log4j-1.2.15.jar:/Users/delldai/.m2/repository/org/springframework/spring-core/3.2.7.RELEASE/spring-core-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/org/springframework/spring-beans/3.2.7.RELEASE/spring-beans-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/org/springframework/spring-context/3.2.7.RELEASE/spring-context-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/org/springframework/spring-aop/3.2.7.RELEASE/spring-aop-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/Users/delldai/.m2/repository/org/springframework/spring-orm/3.2.7.RELEASE/spring-orm-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/org/springframework/spring-tx/3.2.7.RELEASE/spring-tx-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/org/springframework/spring-jdbc/3.2.7.RELEASE/spring-jdbc-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/org/antlr/antlr-runtime/3.4/antlr-runtime-3.4.jar:/Users/delldai/.m2/repository/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.jar:/Users/delldai/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar:/Users/delldai/.m2/repository/asm/asm-commons/2.2.3/asm-commons-2.2.3.jar:/Users/delldai/.m2/repository/asm/asm-tree/2.2.3/asm-tree-2.2.3.jar:/Users/delldai/.m2/repository/asm/asm/2.2.3/asm-2.2.3.jar:/Users/delldai/.m2/repository/asm/asm-util/2.2.3/asm-util-2.2.3.jar:/Users/delldai/.m2/repository/cglib/cglib-nodep/2.2/cglib-nodep-2.2.jar:/Users/delldai/.m2/repository/ca/uhn/hapi/hapi-base/2.0/hapi-base-2.0.jar:/Users/delldai/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/Users/delldai/.m2/repository/org/jdom/jdom/1.1/jdom-1.1.jar:/Users/delldai/.m2/repository/xalan/xalan/2.7.0/xalan-2.7.0.jar:/Users/delldai/.m2/repository/ca/uhn/hapi/hapi-structures-v25/2.0/hapi-structures-v25-2.0.jar:/Users/delldai/.m2/repository/ca/uhn/hapi/hapi-structures-v26/2.0/hapi-structures-v26-2.0.jar:/Users/delldai/.m2/repository/org/openmrs/simpleframework/simple-xml/1.6.1-mod/simple-xml-1.6.1-mod.jar:/Users/delldai/.m2/repository/stax/stax/1.2.0/stax-1.2.0.jar:/Users/delldai/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar:/Users/delldai/.m2/repository/org/javassist/javassist/3.19.0-GA/javassist-3.19.0-GA.jar:/Users/delldai/.m2/repository/org/openmrs/hibernate/hibernate-core/3.6.5.Final-mod/hibernate-core-3.6.5.Final-mod.jar:/Users/delldai/.m2/repository/org/hibernate/hibernate-commons-annotations/3.2.0.Final/hibernate-commons-annotations-3.2.0.Final.jar:/Users/delldai/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.0-api/1.0.0.Final/hibernate-jpa-2.0-api-1.0.0.Final.jar:/Users/delldai/.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar:/Users/delldai/.m2/repository/org/hibernate/hibernate-c3p0/3.6.5.Final/hibernate-c3p0-3.6.5.Final.jar:/Users/delldai/.m2/repository/org/hibernate/hibernate-ehcache/3.6.5.Final/hibernate-ehcache-3.6.5.Final.jar:/Users/delldai/.m2/repository/org/hibernate/hibernate-search/3.4.2.Final/hibernate-search-3.4.2.Final.jar:/Users/delldai/.m2/repository/org/hibernate/hibernate-search-analyzers/3.4.2.Final/hibernate-search-analyzers-3.4.2.Final.jar:/Users/delldai/.m2/repository/org/apache/lucene/lucene-analyzers/3.1.0/lucene-analyzers-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/solr/solr-analysis-extras/3.1.0/solr-analysis-extras-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/solr/solr-core/3.1.0/solr-core-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/solr/solr-solrj/3.1.0/solr-solrj-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/lucene/lucene-highlighter/3.1.0/lucene-highlighter-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/lucene/lucene-memory/3.1.0/lucene-memory-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/lucene/lucene-misc/3.1.0/lucene-misc-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/lucene/lucene-spatial/3.1.0/lucene-spatial-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/lucene/lucene-spellchecker/3.1.0/lucene-spellchecker-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/solr/solr-commons-csv/3.1.0/solr-commons-csv-3.1.0.jar:/Users/delldai/.m2/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar:/Users/delldai/.m2/repository/org/apache/lucene/lucene-smartcn/3.1.0/lucene-smartcn-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/lucene/lucene-stempel/3.1.0/lucene-stempel-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/lucene/lucene-core/3.1.0/lucene-core-3.1.0.jar:/Users/delldai/.m2/repository/org/apache/lucene/lucene-queries/3.1.0/lucene-queries-3.1.0.jar:/Users/delldai/.m2/repository/jakarta-regexp/jakarta-regexp/1.4/jakarta-regexp-1.4.jar:/Users/delldai/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/Users/delldai/.m2/repository/c3p0/c3p0/0.9.1/c3p0-0.9.1.jar:/Users/delldai/.m2/repository/net/sf/ehcache/ehcache-core/2.2.0/ehcache-core-2.2.0.jar:/Users/delldai/.m2/repository/org/slf4j/slf4j-api/1.6.0/slf4j-api-1.6.0.jar:/Users/delldai/.m2/repository/org/slf4j/slf4j-log4j12/1.6.0/slf4j-log4j12-1.6.0.jar:/Users/delldai/.m2/repository/com/thoughtworks/xstream/xstream/1.4.3/xstream-1.4.3.jar:/Users/delldai/.m2/repository/xmlpull/xmlpull/1.1.3.1/xmlpull-1.1.3.1.jar:/Users/delldai/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar:/Users/delldai/.m2/repository/javax/mail/mail/1.4.1/mail-1.4.1.jar:/Users/delldai/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/Users/delldai/.m2/repository/org/openmrs/liquibase/ext/modify-column/2.0.2/modify-column-2.0.2.jar:/Users/delldai/.m2/repository/org/openmrs/liquibase/ext/identity-insert/1.2.1/identity-insert-1.2.1.jar:/Users/delldai/.m2/repository/org/openmrs/liquibase/ext/type-converter/1.0.1/type-converter-1.0.1.jar:/Users/delldai/.m2/repository/xerces/xercesImpl/2.8.0/xercesImpl-2.8.0.jar:/Users/delldai/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar:/Users/delldai/.m2/repository/xml-resolver/xml-resolver/1.1/xml-resolver-1.1.jar:/Users/delldai/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/Users/delldai/.m2/repository/org/hibernate/hibernate-validator/4.2.0.Final/hibernate-validator-4.2.0.Final.jar:/Users/delldai/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/Users/delldai/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/Users/delldai/.m2/repository/org/codehaus/groovy/groovy-all/1.7.6/groovy-all-1.7.6.jar:/Users/delldai/.m2/repository/org/openmrs/api/openmrs-api/1.11.6/openmrs-api-1.11.6-tests.jar:/Users/delldai/.m2/repository/org/springframework/spring-test/3.2.7.RELEASE/spring-test-3.2.7.RELEASE.jar:/Users/delldai/.m2/repository/com/h2database/h2/1.4.187/h2-1.4.187.jar:/Users/delldai/.m2/repository/org/databene/databene-benerator/0.5.9/databene-benerator-0.5.9.jar:/Users/delldai/.m2/repository/org/databene/databene-webdecs/0.4.9/databene-webdecs-0.4.9.jar:/Users/delldai/.m2/repository/org/apache/poi/poi/3.5-beta5/poi-3.5-beta5.jar:/Users/delldai/.m2/repository/org/freemarker/freemarker/2.3.9/freemarker-2.3.9.jar:/Users/delldai/.m2/repository/org/databene/databene-commons/0.4.9/databene-commons-0.4.9.jar:/Users/delldai/.m2/repository/org/databene/databene-gui/0.1.9/databene-gui-0.1.9.jar:/Users/delldai/.m2/repository/org/apache/derby/derbyclient/10.4.2.0/derbyclient-10.4.2.0.jar:/Users/delldai/.m2/repository/org/dbunit/dbunit/2.4.7/dbunit-2.4.7.jar:/Users/delldai/.m2/repository/xmlunit/xmlunit/1.3/xmlunit-1.3.jar:/Users/delldai/.m2/repository/com/carrotsearch/junit-benchmarks/0.7.0/junit-benchmarks-0.7.0.jar:/Users/delldai/.m2/repository/junit/junit/4.11/junit-4.11.jar:/Users/delldai/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/delldai/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/delldai/.m2/repository/org/mockito/mockito-core/1.9.5/mockito-core-1.9.5.jar:/Users/delldai/.m2/repository/org/objenesis/objenesis/1.0/objenesis-1.0.jar:/Users/delldai/.m2/repository/org/powermock/powermock-module-junit4/1.5/powermock-module-junit4-1.5.jar:/Users/delldai/.m2/repository/org/powermock/powermock-module-junit4-common/1.5/powermock-module-junit4-common-1.5.jar:/Users/delldai/.m2/repository/org/powermock/powermock-core/1.5/powermock-core-1.5.jar:/Users/delldai/.m2/repository/org/powermock/powermock-reflect/1.5/powermock-reflect-1.5.jar:/Users/delldai/.m2/repository/org/powermock/powermock-api-mockito/1.5/powermock-api-mockito-1.5.jar:/Users/delldai/.m2/repository/org/powermock/powermock-api-support/1.5/powermock-api-support-1.5.jar com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit4 org.openmrs.module.project1.Project1ControllerTest,testProject1Controller
  2. ERROR - TestContextManager.prepareTestInstance(309) |2021-07-06 13:27:45,946| Caught exception while allowing TestExecutionListener [org.springframework.test.context.support.DependencyInjectionTestExecutionListener@dd2856e] to prepare test instance [org.openmrs.module.project1.Project1ControllerTest@5a49af50]
  3. java.lang.IllegalStateException: Failed to load ApplicationContext
  4. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
  5. at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
  6. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
  7. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
  8. at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
  9. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
  10. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
  11. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  12. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
  13. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
  14. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
  15. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  16. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  17. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  18. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  19. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  20. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  21. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  22. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
  23. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  24. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
  25. at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
  26. at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
  27. at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
  28. at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:220)
  29. at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:53)
  30. Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [/Users/delldai/Desktop/LEEDS/Project/OpenMRS/SDK/Zhongyan Zuo/project1/api/target/classes/org/openmrs/module/project1/Project1Activator.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [/Users/delldai/Desktop/LEEDS/Project/OpenMRS/SDK/Zhongyan Zuo/project1/api/target/classes/org/openmrs/module/project1/Project1Activator.class]; nested exception is java.lang.IllegalArgumentException
  31. at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:290)
  32. at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:242)
  33. at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84)
  34. at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)
  35. at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1438)
  36. at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428)
  37. at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:195)
  38. at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:139)
  39. at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:108)
  40. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
  41. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
  42. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
  43. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
  44. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
  45. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
  46. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
  47. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)
  48. at org.springframework.test.context.support.AbstractGenericContextLoader.loadBeanDefinitions(AbstractGenericContextLoader.java:233)
  49. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:117)
  50. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
  51. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
  52. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
  53. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
  54. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
  55. ... 25 more
  56. Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [/Users/delldai/Desktop/LEEDS/Project/OpenMRS/SDK/Zhongyan Zuo/project1/api/target/classes/org/openmrs/module/project1/Project1Activator.class]; nested exception is java.lang.IllegalArgumentException
  57. at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:56)
  58. at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80)
  59. at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:102)
  60. at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:266)
  61. ... 48 more
  62. Caused by: java.lang.IllegalArgumentException
  63. at org.springframework.asm.ClassReader.<init>(Unknown Source)
  64. at org.springframework.asm.ClassReader.<init>(Unknown Source)
  65. at org.springframework.asm.ClassReader.<init>(Unknown Source)
  66. at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:53)
  67. ... 51 more
  68.  
  69. java.lang.IllegalStateException: Failed to load ApplicationContext
  70.  
  71. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:99)
  72. at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:122)
  73. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)
  74. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)
  75. at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:307)
  76. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)
  77. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:288)
  78. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  79. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:284)
  80. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
  81. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
  82. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  83. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  84. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  85. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  86. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  87. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  88. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  89. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
  90. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  91. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
  92. at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
  93. at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
  94. at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
  95. at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:220)
  96. at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:53)
  97. Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [/Users/delldai/Desktop/LEEDS/Project/OpenMRS/SDK/Zhongyan Zuo/project1/api/target/classes/org/openmrs/module/project1/Project1Activator.class]; nested exception is org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [/Users/delldai/Desktop/LEEDS/Project/OpenMRS/SDK/Zhongyan Zuo/project1/api/target/classes/org/openmrs/module/project1/Project1Activator.class]; nested exception is java.lang.IllegalArgumentException
  98. at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:290)
  99. at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:242)
  100. at org.springframework.context.annotation.ComponentScanBeanDefinitionParser.parse(ComponentScanBeanDefinitionParser.java:84)
  101. at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)
  102. at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1438)
  103. at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1428)
  104. at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:195)
  105. at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:139)
  106. at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:108)
  107. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)
  108. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)
  109. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
  110. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
  111. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
  112. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
  113. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
  114. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)
  115. at org.springframework.test.context.support.AbstractGenericContextLoader.loadBeanDefinitions(AbstractGenericContextLoader.java:233)
  116. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:117)
  117. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
  118. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:100)
  119. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:248)
  120. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContextInternal(CacheAwareContextLoaderDelegate.java:64)
  121. at org.springframework.test.context.CacheAwareContextLoaderDelegate.loadContext(CacheAwareContextLoaderDelegate.java:91)
  122. ... 25 more
  123. Caused by: org.springframework.core.NestedIOException: ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet: file [/Users/delldai/Desktop/LEEDS/Project/OpenMRS/SDK/Zhongyan Zuo/project1/api/target/classes/org/openmrs/module/project1/Project1Activator.class]; nested exception is java.lang.IllegalArgumentException
  124. at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:56)
  125. at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80)
  126. at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:102)
  127. at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:266)
  128. ... 48 more
  129. Caused by: java.lang.IllegalArgumentException
  130. at org.springframework.asm.ClassReader.<init>(Unknown Source)
  131. at org.springframework.asm.ClassReader.<init>(Unknown Source)
  132. at org.springframework.asm.ClassReader.<init>(Unknown Source)
  133. at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:53)
  134. ... 51 more
  135.  
  136.  
  137. Process finished with exit code 255
  138.  
RAW Paste Data Copied