This is how I solved it. Create a new project of the same type in myeclipse, copy the contents of .setting to the project that cannot be deployed, restart -> refresh, and you're done! !
Note that the .jsdtscope file
<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src/main/webapp"/> <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject"> <attributes> <attribute name="hide" value="true"/> </attributes> </classpathentry> <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary/StandardBrowser/html5"/> <classpathentry kind="output" path=""/> </classpath>
I modified <classpathentry kind="src" path="src/main/webapp"/>
the default is <classpathentry kind="src" path="WebRoot"/>