I've forked and imported project from Github using Eclipse. But I am getting red cross at a lot of places which is valid java code. Also the keyword highlighting features etc have gone as a part of this.
I've ran the application in tomcat (from within eclipse) and it seems to work fine. How can I avoid this? What am I doing wrong?
Edit: I am able to solve the red cross issue, answer posted below. But I still can't get the syntax highlighting for Java code to work in the JSP. I've tried solutions posted in stackoverflow like opening it with the JSP Editor, which I am doing. The project is already a webproject. What more can I do to fix this?