Yes, that's what I was looking for.
This dependency is not replaced by Maven because it has a different
artifactId.
2014-05-20 15:14 GMT+02:00 James Agnew :
> Hi Sara,
>
> The issue likely lies in the following part of the dependency tree you
> posted:
>
> [INFO] +- org.openmrs.api:openmrs-api:j
Hi Sara,
The issue likely lies in the following part of the dependency tree you
posted:
[INFO] +- org.openmrs.api:openmrs-api:jar:1.8.0:provided
(snip)
[INFO] | +- ca.uhn.hapi:hapi:jar:0.5:provided
What this means is that the OpenMRS library has a dependency on a very old
version of HAP
Hi
Where do I get the log4j.xml file?
Also I tried running mvn dependency:tree Here is what I got. I can't
understand what I am supposed to look into this for?
E:\GSOC2014\hapiexample>mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
--
You need a log4j.xml to make the warnings go away.
And you still seem to have version conflicts in your project. Have you run
mvn dependency:tree to check?
Christian
2014-05-20 12:45 GMT+02:00 Sara Fatima :
> Hi
>
> I have corrected the version numbers and could successfully compile.
>
> Howeve
Hi
I have corrected the version numbers and could successfully compile.
However when I am trying to run the class I have getting following errors.
log4j:WARN No appenders could be found for logger
(ca.uhn.hl7v2.parser.DefaultModelClassFactory).
log4j:WARN Please initialize the log4j system prope
Try running mvn dependency:tree in your project and check if there is any
old hapi library in the classpath. HapiContext exist as of version 2.1.
Sometimes mvn help:effective-pom also helps.
Christian
2014-05-20 11:40 GMT+02:00 Sara Fatima :
> Hi
> I have changed the HAPI base version to 2.2 as
Hi
I have changed the HAPI base version to 2.2 as shown below. However it
still doesn't seem to work and i am getting the same error.
Do we need to add any JAR files while we are using maven too?
ca.uhn.hapi
hapi-base
2.2
ca.uhn.hapi
hapi-structures-v21
2.2
ca.uhn.hapi
hapi-
Your Hapi base version is 2.1 while your structures are using 2.2.
Please use the same version at all places
On 20 May 2014 07:51, Sara Fatima wrote:
> Hi
>
>
>
> I am facing few errors while using HAPI.
>
>
>
> These are the changes I have done into the pom.xml , I have also attached
> a scre
Hi
I am facing few errors while using HAPI.
These are the changes I have done into the pom.xml , I have also attached a
screen shot of the error screen.
ca.uhn.hapi
*hapi*-base
2.1
ca.uhn.hapi
*hapi*-structures-v21
2.2
ca.uhn.hapi
*hapi*-structures-v251
9 matches
Mail list logo