1.
Right click on your project -> run configurations
check enable auto build
2.
Right click on your project --> Properties
Run/Debug settingsDelete whatever is set as "launch configuration for '........'
Project --> Clean
Project --> Build Project