Souvik Dasgupta wrote:
Even I thought that after going through the answer in different forums. But after I generate the WAR is it really relevant what IDE I am using?
Also, in the same Eclipse Workspace I have few other projects, which are deploying fine.
Well, the JSPs are compiled by JBoss at run time, so yes it could be relevant. And it does look like Eclipse is doing the compiling, based on the error message.
Also, each Eclipse project has its own configuration to say what JDK to use, so the fact that those projects don't have that kind of compiler error doesn't tell you much. Unfortunately I haven't used JBoss in Eclipse so I can't tell you which project
you should be looking at, but presumably it isn't the same project where your
servlets have compiled successfully.