This is a really simple question, and it\'s probably a setting somewhere I don\'t know about, but Google is being particularly unhelpful for this question, giving results ab
if you are having dependency on some other project in work space and these projects are not build properly, such error might come.
try building such dependent projects first, it may help