I have created the servlet program on the different location of Workspace and after that I created another location of workspace I am getting the error

But this error doesn't come when I run it on previous workspace location, and also I have closed the previous workspace still getting the error.