After checking out a lot of posts I finally fixed this error, though I have no clue why it is happening:
- Right click on the project
- Properties-->Builders
- Uncheck the Google App Engine Project Validator.
- Then clean the project.
- Then check the Google App Engine Project Validator again.
- Then left click the project,
- Go to Project-->Build Project.
- Done.
Anyone can explain this?