Your path to classes is a mess.
This particular exception indicates that you are clogged in the webapp /WEB-INF/lib folder with randomly loaded servlet container libraries for the make / version servlet container, which are incompatible with the servletcontainer server where you are actually deploying webapp. A special exception message indicates that your /WEB-INF/lib contains jsp-api.jar , j2ee.jar and / or javaee.jar .
You must delete them. Servletcontainer already comes with JSP. You should never copy / move libraries associated with a servlet container. It will only face the target runtime. If you did this to bypass compilation errors in your IDE, you should have solved it differently. Namely, you must integrate the target servlet container into your IDE, and then link it to the project as a Targeted Runtime. This way, the IDE will automatically use the servletcontainer libraries in the compilation class path.
See also:
- How to import javax.servlet API into an Eclipse project?
Balusc
source share