hello in my jsp page I 've got the following lines: DAOFactory pointbaseFactory = DAOFactory.getDAOFactory(DAOFactory.POINTBASE); //static public method to get the concrete DAO factory( PointbaseDAOFactory class) AssignmentDAO assignmentDAO = pointbaseFactory.getAssignmentDAO(); //public; should return a concrete AssignmenDAO (PointbaseAssignmentDAO)
but I get the IllegalAccessError: tried to access method mypackage.DAOFactories.DAOFactory.getAssignmentDAO()Lmypackage/DAOs/AssignmentDAO; from class org.apache.jsp.addAssignment$jsp What sun says about this error is: "..Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to. Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed." What about this illegal access? I just try to use some classes in WEB-INF from my jsp page... I do not understand why the first line is executed and the second one gives the error. thanks for any help ==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
