0
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.

Laf
  • 7,965
  • 4
  • 37
  • 52
zms6445
  • 317
  • 6
  • 22

1 Answers1

1

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.

user1658722
  • 216
  • 2
  • 2