On Apr 29, 9:10=A0am, Denny <e...@[EMAIL PROTECTED]
> wrote:
> I modified a program which retrieves some list out of database using
> EJB. But when I ran this web application, Run time compiler spit out a
> message below saying "java.lang.NoSuchMethodError"... I am sure that
> every source modified by me is correctly modified... =A0However I have
> no idea... Would you let me know to solve this problem??
You might have a classpath or package problem. Meaning, classes are
not located in the same subdirectory as expected by JVM because they
have been moved to a different subdirectory, probably higer level.
But the package says they have to be located in the exact sub-
directory
according to package path.
Look at http://javagoldmine.by.ru.
I have seen some articles on some topics and subjects that cover this
issue.
> java.lang.NoSuchMethodError:
> wm.common.session.Common.getCustRptListFromMax(Lwm/common/dao/
> CommonRptVO;)Lcom/wm/jdf/box/Box;
> =A0 =A0 =A0 =A0 at
> wm.common.client.CommonClient.getCustRptListFromMax(CommonClient.java:
> 705)
> =A0 =A0 =A0 =A0 at
>
jeus_jspwork._report._403_siba_5fhtp_5f0860._jspService(_403_siba_5fhtp_5f=
0=AD860.java:
> 163)
> =A0 =A0 =A0 =A0 at
jeus.servlet.jsp.HttpJspBase.service(HttpJspBase.java:5=
4)
> =A0 =A0 =A0 =A0 at
javax.servlet.http.HttpServlet.service(HttpServlet.java=
:
> 269)
> =A0 =A0 =A0 =A0 at
>
jeus.servlet.jsp.JspServletWrapper.executeServlet(JspServletWrapper.java:
> 88)
> =A0 =A0 =A0 =A0 at
> jeus.servlet.jsp.JspServletWrapper.execute(JspServletWrapper.java:61)
> =A0 =A0 =A0 =A0 at
jeus.servlet.servlets.JspServlet.execute(JspServlet.jav=
a:
> 69)
> =A0 =A0 =A0 =A0 at
>
jeus.servlet.engine.Ajp13RequestProcessor.run(Ajp13RequestProcessor.java:
> 138)
> [2008.04.29 15:00:25][1] [SRVL-2456] [E] (/report/siba_htp_0860.jsp)
> fail to execute servlet
> <<__Exception__>>
> javax.servlet.ServletException: [JSPE-2619] [E] fail to execute jsp
> =A0 =A0 =A0 =A0 at
>
jeus.servlet.jsp.PageContextImpl.handlePageException0(PageContextImpl.java=
:
> 441)
> =A0 =A0 =A0 =A0 at
>
jeus.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:=
> 412)
> =A0 =A0 =A0 =A0 at
>
jeus_jspwork._report._403_siba_5fhtp_5f0860._jspService(_403_siba_5fhtp_5f=
0=AD860.java:
> 227)
> =A0 =A0 =A0 =A0 at
jeus.servlet.jsp.HttpJspBase.service(HttpJspBase.java:5=
4)
> =A0 =A0 =A0 =A0 at
javax.servlet.http.HttpServlet.service(HttpServlet.java=
:
> 269)
> =A0 =A0 =A0 =A0 at
>
jeus.servlet.jsp.JspServletWrapper.executeServlet(JspServletWrapper.java:
> 88)
> =A0 =A0 =A0 =A0 at
> jeus.servlet.jsp.JspServletWrapper.execute(JspServletWrapper.java:61)
> =A0 =A0 =A0 =A0 at
jeus.servlet.servlets.JspServlet.execute(JspServlet.jav=
a:
> 69)
> =A0 =A0 =A0 =A0 at
>
jeus.servlet.engine.Ajp13RequestProcessor.run(Ajp13RequestProcessor.java:
> 138)
> javax.servlet.ServletException: [JSPE-2619] [E] fail to execute jsp :
> [JSPE-2619] [E] fail to execute jsp
> <<__!Exception__>>
> caused by:
> <<__Exception__>>
> java.lang.NoSuchMethodError:
> wm.common.session.Common.getCustRptListFromMax(Lwm/common/dao/
> CommonRptVO;)Lcom/wm/jdf/box/Box;
> =A0 =A0 =A0 =A0 at
> wm.common.client.CommonClient.getCustRptListFromMax(CommonClient.java:
> 705)
> =A0 =A0 =A0 =A0 at
>
jeus_jspwork._report._403_siba_5fhtp_5f0860._jspService(_403_siba_5fhtp_5f=
0=AD860.java:
> 163)
> =A0 =A0 =A0 =A0 at
jeus.servlet.jsp.HttpJspBase.service(HttpJspBase.java:5=
4)
> =A0 =A0 =A0 =A0 at
javax.servlet.http.HttpServlet.service(HttpServlet.java=
:
> 269)
> =A0 =A0 =A0 =A0 at
>
jeus.servlet.jsp.JspServletWrapper.executeServlet(JspServletWrapper.java:
> 88)
> =A0 =A0 =A0 =A0 at
> jeus.servlet.jsp.JspServletWrapper.execute(JspServletWrapper.java:61)
> =A0 =A0 =A0 =A0 at
jeus.servlet.servlets.JspServlet.execute(JspServlet.jav=
a:
> 69)
> =A0 =A0 =A0 =A0 at
>
jeus.servlet.engine.Ajp13RequestProcessor.run(Ajp13RequestProcessor.java:
> 138)
> java.lang.NoSuchMethodError:
> wm.common.session.Common.getCustRptListFromMax(Lwm/common/dao/
> CommonRptVO;)Lcom/wm/jdf/box/Box; : wm.common.ses
> sion.Common.getCustRptListFromMax(Lwm/common/dao/CommonRptVO;)Lcom/wm/
> jdf/box/Box;
> <<__!Exception__>>