How to add a jar file to Eclipse / DiscoveryListener cannot be resolved to a type

A common problem when JAR files are not imported into Eclipse, is the error: “… cannot be resolved to a type”

A quick fix is to ensure that you have imported the jar library into Eclipse. This is quite easily done as follows:

[box]

  • In Eclipse – right click on the project concerned
  • Click on “Java Build Path”
  • Click on “Add External JARs”
  • Locate your JAR file, and bob’s your uncle 🙂

BlueBridgeJar

[/box]

Cheerio 🙂

Turkey Tunnel Logo