The return type is incompatible with JspSourceDependent.getDependants()

Solution Unverified - Updated -

Environment

  • Tomcat 5

Issue

  • JSPs fail to compile on Tomcat because "The return type is incompatible with JspSourceDependent.getDependants()"

Resolution

  • Try stopping tomcat, clearing the tomcat work directory, and restarting

Root Cause

  • An update changed a library that changed return and prior generated code is incompatible

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments