I think you need to configure the Buildpath of your project. Do it as below:
RightClick on your Project -> Build Path -> Configure Buildpath
The window will then be displayed using Libraries as one of the tabs. Select this tab.
Then click Add External Jars in the list of buttons on the right. Add the required jars and select OK. After cleaning and creating your project.
Hope this helps you.
source share