-4

I have a jar file that I have included on my project's build path. It contains a class file called aaf.class. The class file holds the definition for the aaf class obviously. When I try to import aaf in my java file, it says

The import aaf cannot be resolved

Does anyone know why this would be happening as I am sure it is on the build path? I have never seen this before.

Zach
  • 1,311
  • 3
  • 16
  • 36

2 Answers2

1

Put it in your classpath. That should solve things.

jtabone16
  • 56
  • 4
0

Assuming the fully qualified package name is aaf.class you can't import from the default package. Simple as that.