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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top