I have jsp page with the directive <%@ page import="ppr_tv.javaSrc.UserBean"%> and the statement <jsp:useBean id="currentSessionUser" class="ppr_tv.javaSrc.UserBean" scope="session"> </jsp:useBean>.
This page loads and displays fine and I have full access to the UserBean class. But in the Eclipse IDE the class value of "ppr_tv.javaSrc.UserBean" is underlined in red with the error "Undefined type: ppr_tv.javaSrc.UserBean". I am not sure why it is complaining.
I have tried changing the directive to <%@ page import="ppr_tv.javaSrc.*"%>. The application still works but the error message persists.
I have also tried changing the class value from "ppr_tv.javaSrc.UserBean" to "UserBean". The error remains and the application does not work.
Perhaps this is not a big deal as the application works. Still, things underlined in red just rub me the wrong way. ;-)