高分请教"10.5.1 500 Internal Server Error"的问题

xwchena 2005-01-14 08:51:32
环境:weblogic6.1
页面在调用一个方法时出现下面错误:
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.

控制台显示的信息如下:
saveQuestionAnswers
<2005-1-14 上午10时33分56秒> <Error> <HTTP> <[WebAppServletContext(2031205,pod,/pod)] Servlet failed with Exception
java.lang.NoSuchMethodError
at com.microsoft.pod.presentation.web.execute.QuestionsHandlerSL.saveQuestionAnswers(QuestionsHandlerSL.java:104)
at com.microsoft.pod.presentation.web.execute.QuestionsHandlerSL.doGet(QuestionsHandlerSL.java:40)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2546)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2260)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

请问是什么原因引起的?
说明一下,我在weblogic8.1上运行是正常的

...全文
1062 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
yeshucheng 2005-01-16
  • 打赏
  • 举报
回复
转版本肯定要出问题:)
这个说明你程序中以前引用的包有8.x中的,一旦放到6下肯定要出问题。
高版本转低版本这个问题会出现的,就象楼上说的一样
jFresH_MaN 2005-01-16
  • 打赏
  • 举报
回复
具体原因我也不清楚,但可以肯定的是在低版本上面可以运行在高版本肯定能运行
而在高版本运行的不一定能在低版本运行
这是向下兼容的原则
xwchena 2005-01-16
  • 打赏
  • 举报
回复
代码中有saveQuestionAnswers这个方法,我在weblogic8.1上运行是正常的。我怀疑是不是和6.1的环境有关系?
fairyme 2005-01-14
  • 打赏
  • 举报
回复
……
eureka0891 2005-01-14
  • 打赏
  • 举报
回复
com.microsoft.pod.presentation.web.execute.QuestionsHandlerSL.saveQuestionAnswers(QuestionsHandlerSL.java:104)

QuestionsHandlerSL.java里没有saveQuestionAnswers这个方法,所以出错了

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧