Why did Servlet.service() for servlet jsp throw this exception? December 22, 2023 by Tarik It can be caused by a classpath contamination. Check that you /WEB-INF/lib doesn’t contain something like jsp-api-*.jar.