I want to migrate from Oracle WebLogic to Apache Tomcat. So, Oracle WebLogic 10.3.6 changed to Apache Tomcat 9.0.x . I founded break point not work at tomcat and eclipse specific JSPs. All of source working good in Oracle WebLogic and Eclipse IDE. Break point working source:
<%
System.out.println("breaking point"); // Break point working in Eclipse IDE.
%>
Break point not working source:
<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.3">
<jsp:directive.page extends="javax.servlet.http.HttpServlet" />
<jsp:declaration><![CDATA[//
public void doGet(HttpServletRequest req, HttpServletResponse resp) {
System.out.println("hello doGet"); // Break point not working in Eclipse IDE.
}
//]]></jsp:declaration>
</jsp:root>