I have come across an interesting situation. A coworker committed some changes, which would not compile on my machine neither from the IDE (Eclipse) nor from a command line
This is a known issue which was in news a couple of days back. More info here.