Hi,When I try access a method in Java through JSP page, I getting the error as[19/Sep/2006:10:57:28] failure ( 4187): Internal error: exception thrown from the servlet service function (uri=/sso/login/ExpirePassword1.jsp): java.lang.NoSuchMethodError: beans.QueryLDAP.expirePage()V, Stack: java.lang.NoSuchMethodError: beans.QueryLDAP.expirePage()V at _jsps._sso._login._ExpirePassword1_jsp._jspService(_ExpirePassword1_jsp.java:79) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:943) at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:494)in error log file, can any if you know pls help me.ThanksRanganath.

Showing Answers 1 - 1 of 1 Answers

Vineet

  • Oct 5th, 2006
 

Generally these kind of problems arise if you use different versions of jars during compile time and runtime. When your jsp was compiled, the jar that was used had expirePage function in QueryLDAP class. The jar used at runtime does not have this function (may be it is of previous version when this function was not implemented) Verify that the jar in classpath or in WEB-INF/lib folder is of latest version. (If you modify jsp and query it again, it will be recompiled and will give jsp compilation error instead of runtime exception.)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions