Adding Maven support to an existing web project seems to break the IDE’s ability to resolve JSP tags. To reproduce:
1) Create a new dynamic web project.
2) Add a new JSP tag file with a first line like this:
<%@tag description=”Base page” pageEncoding=”UTF-8″%>
3) Run the website, make sure everything is working okay.
4) Add maven support to the project.
The previously created JSP tag file will now have this error:
The superclass “javax.servlet.jsp.tagext.SimpleTagSupport” was not found on the Java Build Path
It seems to have something to do with MyEclipse taking away runtime configuration options from the project after adding Maven support. After adding Maven support, if you go into Project -> Properties -> MyEcliipse -> Project Facets and choose the Runtimes tab, you cannot select a runtime.
-Mark