Importing External Library

I’m trying to import a MongoDB library. It imports just fine but when I try to go use it the editor gives me the following error:

The project was not built since its build path is incomplete. Fix the build path then try building this project

I am importing the class in the script with
import com.mongodb.Mongo

and trying to use it like
Mongo mongo = new Mongo(“localhost”, 27071);

I guess the question is how do I rebuild the project? I have gone through almost all the settings and files but nothing has said ‘Build Path’

I know in Eclipse I would just right click and go to build path, but there is no option here to do that. Also I have tried to “Clean” the project but that does not seem to work either.


Apparently this builds every time a jar is imported. I just reimported and it looked to rebuild. So the steps I took were removed it, added it back again, clicked apply then OK. That seemed to fix it.

Just in case anyone else sees this.