質問

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