Domanda

import ca.uhn.hl7v2.DefaultHapiContext;
import ca.uhn.hl7v2.HapiContext;

I'm getting a cannot resolve error for the above two lines. I don't know why, when I have all the jar files in my project. I'm just starting out using the hapi api so I might be missing something pretty easy to spot.

È stato utile?

Soluzione

What version of HAPI do you (intend to) use? HapiContext and its implementation are only available starting as of HAPI 2.1-beta1. Probably you have an older HAPI version in your classpath.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top