From: Sara F. <sar...@gm...> - 2014-06-03 07:57:56
|
Hi James, Here is the dependency tree. I have included the exclusions as discussed earlier. C:\Users\SARA\IHEModule\IHEInteroperability>mvn dependency:tree [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:IHEInteroperability-api:jar:1.0-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.api:openmrs-api:jar -> version 1.8.0 vs (?) @ line 67, colu mn 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.openmrs.module:IHEInteroperability-omod:jar:1.0-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.api:openmrs-api:jar -> version 1.8.0 vs (?) @ line 76, colu mn 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten t he stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support buildin g such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] IHEInteroperability Module [INFO] IHEInteroperability Module API [INFO] IHEInteroperability Module OMOD Downloading: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/ apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins:maven-compiler-pl ugin/maven-metadata.xml from/to openmrs-repo ( http://mavenrepo.openmrs.org/nexus /content/repositories/public): mavenrepo.openmrs.org [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building IHEInteroperability Module 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-dependency-plugin:2.4:tree (default-cli) @ IHEInteroperability --- [INFO] org.openmrs.module:IHEInteroperability:pom:1.0-SNAPSHOT [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building IHEInteroperability Module API 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-dependency-plugin:2.4:tree (default-cli) @ IHEInteroperability- api --- [INFO] org.openmrs.module:IHEInteroperability-api:jar:1.0-SNAPSHOT [INFO] +- ca.uhn.hapi:hapi-base:jar:2.1:provided [INFO] +- ca.uhn.hapi:hapi-structures-v21:jar:2.1:provided [INFO] +- org.openmrs.api:openmrs-api:jar:1.8.0:provided [INFO] | +- commons-collections:commons-collections:jar:3.2:provided [INFO] | +- commons-beanutils:commons-beanutils:jar:1.7.0:provided [INFO] | +- commons-io:commons-io:jar:1.4:provided [INFO] | +- org.azeckoski:reflectutils:jar:0.9.14:provided [INFO] | +- org.apache.velocity:velocity:jar:1.6.2:provided [INFO] | | \- commons-lang:commons-lang:jar:2.4:provided [INFO] | +- log4j:log4j:jar:1.2.15:provided [INFO] | +- org.springframework:spring-core:jar:3.0.2.RELEASE:provided [INFO] | | \- org.springframework:spring-asm:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-beans:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-context:jar:3.0.2.RELEASE:provided [INFO] | | \- org.springframework:spring-expression:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-aop:jar:3.0.2.RELEASE:provided [INFO] | | \- aopalliance:aopalliance:jar:1.0:provided [INFO] | +- org.springframework:spring-orm:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-tx:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-jdbc:jar:3.0.2.RELEASE:provided [INFO] | +- org.antlr:antlr-runtime:jar:3.2:provided [INFO] | | \- org.antlr:stringtemplate:jar:3.2:provided [INFO] | +- asm:asm-commons:jar:2.2.3:provided [INFO] | | \- asm:asm-tree:jar:2.2.3:provided [INFO] | +- asm:asm-util:jar:2.2.3:provided [INFO] | +- cglib:cglib-nodep:jar:2.2:provided [INFO] | +- ca.uhn.hapi:hapi:jar:0.5:provided [INFO] | +- org.openmrs.simpleframework:simple-xml:jar:1.6.1-mod:provided [INFO] | +- stax:stax:jar:1.2.0:provided [INFO] | +- stax:stax-api:jar:1.0.1:provided [INFO] | +- org.openmrs.hibernate:hibernate:jar:3.2.5.ga-mod:provided [INFO] | | +- javax.transaction:jta:jar:1.0.1B:provided [INFO] | | +- antlr:antlr:jar:2.7.6:provided [INFO] | | \- asm:asm:jar:1.5.3:provided [INFO] | +- dom4j:dom4j:jar:1.6.1:provided [INFO] | +- c3p0:c3p0:jar:0.9.1:provided [INFO] | +- net.sf.ehcache:ehcache-core:jar:2.2.0:provided [INFO] | +- org.slf4j:slf4j-api:jar:1.5.6:provided [INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.5.6:provided [INFO] | +- org.slf4j:slf4j-log4j12:jar:1.5.6:provided [INFO] | +- com.thoughtworks.xstream:xstream:jar:1.3.1:provided [INFO] | +- javax.mail:mail:jar:1.4.1:provided [INFO] | | \- javax.activation:activation:jar:1.1:provided [INFO] | +- org.openmrs.liquibase:liquibase-core:jar:1.9.4-mod:provided [INFO] | +- xerces:xercesImpl:jar:2.8.0:provided [INFO] | +- xml-apis:xml-apis:jar:1.3.03:provided [INFO] | \- xml-resolver:xml-resolver:jar:1.1:provided [INFO] +- org.openmrs.web:openmrs-web:jar:1.8.0:provided [INFO] | +- javax.servlet:servlet-api:jar:2.5:provided [INFO] | +- javax.servlet:jsp-api:jar:2.0:provided [INFO] | +- javax.servlet:jstl:jar:1.1.2:provided [INFO] | +- org.openmrs.directwebremoting:dwr:jar:2.0.5-mod:provided [INFO] | +- commons-fileupload:commons-fileupload:jar:1.2.1:provided [INFO] | +- net.sf.saxon:saxon:jar:8.7:provided [INFO] | +- net.sf.saxon:saxon-dom:jar:8.7:provided [INFO] | +- org.springframework:spring-web:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-webmvc:jar:3.0.2.RELEASE:provided [INFO] | | \- org.springframework:spring-context-support:jar:3.0.2.RELEASE:pro vided [INFO] | +- jfree:jfreechart:jar:1.0.12:provided [INFO] | | \- jfree:jcommon:jar:1.0.15:provided [INFO] | +- mysql:mysql-connector-java:jar:5.1.8:provided [INFO] | +- taglibs:request:jar:1.0.1:provided [INFO] | +- taglibs:response:jar:1.0.1:provided [INFO] | +- taglibs:standard:jar:1.1.2:provided [INFO] | +- taglibs:page:jar:1.0.1:provided [INFO] | +- org.codehaus.jackson:jackson-core-asl:jar:1.5.0:provided [INFO] | \- org.codehaus.jackson:jackson-mapper-asl:jar:1.5.0:provided [INFO] +- org.openmrs.api:openmrs-api:test-jar:tests:1.8.0:test [INFO] +- org.openmrs.web:openmrs-web:test-jar:tests:1.8.0:test [INFO] \- org.openmrs.test:openmrs-test:pom:1.8.0:test [INFO] +- org.springframework:spring-test:jar:3.0.2.RELEASE:test [INFO] +- junit:junit:jar:4.8.1:test [INFO] +- org.databene:databene-benerator:jar:0.5.9:test [INFO] | +- org.databene:databene-webdecs:jar:0.4.9:test [INFO] | | +- org.apache.poi:poi:jar:3.5-beta5:test [INFO] | | \- org.freemarker:freemarker:jar:2.3.9:test [INFO] | +- org.databene:databene-commons:jar:0.4.9:test [INFO] | | \- commons-logging:commons-logging:jar:1.1:test [INFO] | | +- logkit:logkit:jar:1.0.1:test [INFO] | | \- avalon-framework:avalon-framework:jar:4.1.3:test [INFO] | +- org.databene:databene-gui:jar:0.1.9:test [INFO] | +- net.sourceforge.jtds:jtds:jar:1.2.2:test [INFO] | +- org.apache.derby:derbyclient:jar:10.4.2.0:test [INFO] | \- postgresql:postgresql:jar:8.3-603.jdbc4:test [INFO] +- com.h2database:h2:jar:1.2.135:test [INFO] +- org.dbunit:dbunit:jar:2.4.7:test [INFO] \- xmlunit:xmlunit:jar:1.3:test [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building IHEInteroperability Module OMOD 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://hl7api.sourceforge.net/m2/org/openmrs/module/IHEInteroperabi lity-api/1.0-SNAPSHOT/maven-metadata.xml Downloading: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/ openmrs/module/IHEInteroperability-api/1.0-SNAPSHOT/maven-metadata.xml [WARNING] Could not transfer metadata org.openmrs.module:IHEInteroperability-api :1.0-SNAPSHOT/maven-metadata.xml from/to openmrs-repo ( http://mavenrepo.openmrs. org/nexus/content/repositories/public): mavenrepo.openmrs.org [WARNING] Could not transfer metadata org.openmrs.module:IHEInteroperability-api :1.0-SNAPSHOT/maven-metadata.xml from/to hapi-sf ( http://hl7api.sourceforge.net/ m2): hl7api.sourceforge.net [WARNING] Failure to transfer org.openmrs.module:IHEInteroperability-api:1.0-SNA PSHOT/maven-metadata.xml from http://mavenrepo.openmrs.org/nexus/content/reposit ories/public was cached in the local repository, resolution will not be reattemp ted until the update interval of openmrs-repo has elapsed or updates are forced. Original error: Could not transfer metadata org.openmrs.module:IHEInteroperabil ity-api:1.0-SNAPSHOT/maven-metadata.xml from/to openmrs-repo ( http://mavenrepo.o penmrs.org/nexus/content/repositories/public): mavenrepo.openmrs.org [WARNING] Failure to transfer org.openmrs.module:IHEInteroperability-api:1.0-SNA PSHOT/maven-metadata.xml from http://hl7api.sourceforge.net/m2 was cached in the local repository, resolution will not be reattempted until the update interval of hapi-sf has elapsed or updates are forced. Original error: Could not transfer metadata org.openmrs.module:IHEInteroperability-api:1.0-SNAPSHOT/maven-metadata .xml from/to hapi-sf (http://hl7api.sourceforge.net/m2): hl7api.sourceforge.net [INFO] [INFO] --- maven-dependency-plugin:2.4:tree (default-cli) @ IHEInteroperability- omod --- [INFO] org.openmrs.module:IHEInteroperability-omod:jar:1.0-SNAPSHOT [INFO] +- ca.uhn.hapi:hapi-base:jar:2.1:provided [INFO] +- ca.uhn.hapi:hapi-structures-v21:jar:2.1:provided [INFO] +- org.openmrs.api:openmrs-api:jar:1.8.0:provided [INFO] | +- commons-collections:commons-collections:jar:3.2:provided [INFO] | +- commons-beanutils:commons-beanutils:jar:1.7.0:provided [INFO] | +- commons-io:commons-io:jar:1.4:provided [INFO] | +- org.azeckoski:reflectutils:jar:0.9.14:provided [INFO] | +- org.apache.velocity:velocity:jar:1.6.2:provided [INFO] | | \- commons-lang:commons-lang:jar:2.4:provided [INFO] | +- log4j:log4j:jar:1.2.15:provided [INFO] | +- org.springframework:spring-core:jar:3.0.2.RELEASE:provided [INFO] | | \- org.springframework:spring-asm:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-beans:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-context:jar:3.0.2.RELEASE:provided [INFO] | | \- org.springframework:spring-expression:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-aop:jar:3.0.2.RELEASE:provided [INFO] | | \- aopalliance:aopalliance:jar:1.0:provided [INFO] | +- org.springframework:spring-orm:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-tx:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-jdbc:jar:3.0.2.RELEASE:provided [INFO] | +- org.antlr:antlr-runtime:jar:3.2:provided [INFO] | | \- org.antlr:stringtemplate:jar:3.2:provided [INFO] | +- asm:asm-commons:jar:2.2.3:provided [INFO] | | \- asm:asm-tree:jar:2.2.3:provided [INFO] | +- asm:asm-util:jar:2.2.3:provided [INFO] | +- cglib:cglib-nodep:jar:2.2:provided [INFO] | +- ca.uhn.hapi:hapi:jar:0.5:provided [INFO] | +- org.openmrs.simpleframework:simple-xml:jar:1.6.1-mod:provided [INFO] | +- stax:stax:jar:1.2.0:provided [INFO] | +- stax:stax-api:jar:1.0.1:provided [INFO] | +- org.openmrs.hibernate:hibernate:jar:3.2.5.ga-mod:provided [INFO] | | +- javax.transaction:jta:jar:1.0.1B:provided [INFO] | | +- antlr:antlr:jar:2.7.6:provided [INFO] | | \- asm:asm:jar:1.5.3:provided [INFO] | +- dom4j:dom4j:jar:1.6.1:provided [INFO] | +- c3p0:c3p0:jar:0.9.1:provided [INFO] | +- net.sf.ehcache:ehcache-core:jar:2.2.0:provided [INFO] | +- org.slf4j:slf4j-api:jar:1.5.6:provided [INFO] | +- org.slf4j:jcl-over-slf4j:jar:1.5.6:provided [INFO] | +- org.slf4j:slf4j-log4j12:jar:1.5.6:provided [INFO] | +- com.thoughtworks.xstream:xstream:jar:1.3.1:provided [INFO] | +- javax.mail:mail:jar:1.4.1:provided [INFO] | | \- javax.activation:activation:jar:1.1:provided [INFO] | +- org.openmrs.liquibase:liquibase-core:jar:1.9.4-mod:provided [INFO] | +- xerces:xercesImpl:jar:2.8.0:provided [INFO] | +- xml-apis:xml-apis:jar:1.3.03:provided [INFO] | \- xml-resolver:xml-resolver:jar:1.1:provided [INFO] +- org.openmrs.module:IHEInteroperability-api:jar:1.0-SNAPSHOT:compile [INFO] +- org.openmrs.web:openmrs-web:jar:1.8.0:provided [INFO] | +- javax.servlet:servlet-api:jar:2.5:provided [INFO] | +- javax.servlet:jsp-api:jar:2.0:provided [INFO] | +- javax.servlet:jstl:jar:1.1.2:provided [INFO] | +- org.openmrs.directwebremoting:dwr:jar:2.0.5-mod:provided [INFO] | +- commons-fileupload:commons-fileupload:jar:1.2.1:provided [INFO] | +- net.sf.saxon:saxon:jar:8.7:provided [INFO] | +- net.sf.saxon:saxon-dom:jar:8.7:provided [INFO] | +- org.springframework:spring-web:jar:3.0.2.RELEASE:provided [INFO] | +- org.springframework:spring-webmvc:jar:3.0.2.RELEASE:provided [INFO] | | \- org.springframework:spring-context-support:jar:3.0.2.RELEASE:pro vided [INFO] | +- jfree:jfreechart:jar:1.0.12:provided [INFO] | | \- jfree:jcommon:jar:1.0.15:provided [INFO] | +- mysql:mysql-connector-java:jar:5.1.8:provided [INFO] | +- taglibs:request:jar:1.0.1:provided [INFO] | +- taglibs:response:jar:1.0.1:provided [INFO] | +- taglibs:standard:jar:1.1.2:provided [INFO] | +- taglibs:page:jar:1.0.1:provided [INFO] | +- org.codehaus.jackson:jackson-core-asl:jar:1.5.0:provided [INFO] | \- org.codehaus.jackson:jackson-mapper-asl:jar:1.5.0:provided [INFO] +- org.openmrs.api:openmrs-api:test-jar:tests:1.8.0:test [INFO] +- org.openmrs.web:openmrs-web:test-jar:tests:1.8.0:test [INFO] \- org.openmrs.test:openmrs-test:pom:1.8.0:test [INFO] +- org.springframework:spring-test:jar:3.0.2.RELEASE:test [INFO] +- junit:junit:jar:4.8.1:test [INFO] +- org.databene:databene-benerator:jar:0.5.9:test [INFO] | +- org.databene:databene-webdecs:jar:0.4.9:test [INFO] | | +- org.apache.poi:poi:jar:3.5-beta5:test [INFO] | | \- org.freemarker:freemarker:jar:2.3.9:test [INFO] | +- org.databene:databene-commons:jar:0.4.9:test [INFO] | | \- commons-logging:commons-logging:jar:1.1:test [INFO] | | +- logkit:logkit:jar:1.0.1:test [INFO] | | \- avalon-framework:avalon-framework:jar:4.1.3:test [INFO] | +- org.databene:databene-gui:jar:0.1.9:test [INFO] | +- net.sourceforge.jtds:jtds:jar:1.2.2:test [INFO] | +- org.apache.derby:derbyclient:jar:10.4.2.0:test [INFO] | \- postgresql:postgresql:jar:8.3-603.jdbc4:test [INFO] +- com.h2database:h2:jar:1.2.135:test [INFO] +- org.dbunit:dbunit:jar:2.4.7:test [INFO] \- xmlunit:xmlunit:jar:1.3:test [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] IHEInteroperability Module ........................ SUCCESS [12.036s] [INFO] IHEInteroperability Module API .................... SUCCESS [4.154s] [INFO] IHEInteroperability Module OMOD ................... SUCCESS [12.942s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:03.228s [INFO] Finished at: Tue Jun 03 13:20:08 IST 2014 [INFO] Final Memory: 9M/23M [INFO] ------------------------------------------------------------------------ C:\Users\SARA\IHEModule\IHEInteroperability> Regards Sara Fatima On Mon, Jun 2, 2014 at 7:21 PM, James Agnew <ja...@ja...> wrote: > Hi Sara, This sounds like yet another dependency problem. Can you post > your dependency tree? > > sent from my phone. > On Jun 2, 2014 4:49 AM, "Sara Fatima" <sar...@gm...> wrote: > >> Hi all, >> >> I have been working this on trying to create HL7 message. I have used >> this >> <http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/CreateAMessage.html> sample >> as a helper. When I am running this as a separate java file, I am able to >> successfully create HL7 message. >> >> I am trying to include HAPI in my module. Though I am able to compile and >> run the code, I haven't got the desired result. I am getting >> >>> An Internal Error has Occurred >>> >>> *java.lang.NoClassDefFoundError*ca/uhn/hl7v2/HapiContext >> >> >> when I am trying to call the createHL7Message method. >> >> Here >> <https://github.com/saramirza14/openmrs-module-IHEInteroperability/tree/hapi> >> is the code which I am writing. >> >> I would be glad if someone could help me figure out what I am missing. >> >> >> Thanks & Regards >> Sara Fatima >> >> >> >> ------------------------------------------------------------------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/NeoTech >> _______________________________________________ >> Hl7api-devel mailing list >> Hl7...@li... >> https://lists.sourceforge.net/lists/listinfo/hl7api-devel >> >> |