2011年10月7日 星期五

zerojudge 進不去題目

今天寫題目寫到一半,要進去重新看題目時,發現進不去,並跳出許多錯誤訊息,如下:

----------------------------------------------------------------------------------------------

糟糕囉!網頁發生錯誤500
請通知管理員!謝謝!jiangsir@zerojudge.tw
javax.el.PropertyNotFoundException: Property 'accessible_Testjudge' not found on type idv.jiangsir.Beans.ProblemBean
Request that failed: /ShowProblem
Status code: 500
Exception: javax.el.PropertyNotFoundException: Property 'accessible_Testjudge' not found on type idv.jiangsir.Beans.ProblemBean

顯示例外堆疊追蹤:
javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:191)
javax.el.BeanELResolver.property(BeanELResolver.java:300)
javax.el.BeanELResolver.getValue(BeanELResolver.java:81)
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
org.apache.el.parser.AstValue.getValue(AstValue.java:123)
org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:938)
org.apache.jsp.ShowProblem_jsp._jspx_meth_c_005fif_005f12(ShowProblem_jsp.java:2060)
org.apache.jsp.ShowProblem_jsp._jspService(ShowProblem_jsp.java:542)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
idv.jiangsir.zerojudge.controller.ShowProblemServlet.doGet(ShowProblemServlet.java:189)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
idv.jiangsir.utils.filter.PreviousFilter.doFilter(PreviousFilter.java:90)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
idv.jiangsir.utils.filter.GeneralFilter.doFilter(GeneralFilter.java:155)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:276)
org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:81)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:619)
------------------------------------------------------------------------------------------------------------

*可惜沒摸過,看不懂,但重點不是這個,是要怎麼看到題目?
利用google 搜尋  "zerojudge 題號 "  , ex: "zerojudge a001"
然後點庫存頁面,就可以看到以前的記錄了

*再來就是重點的,要怎麼把我寫好的code去judge呢?
只要輸入下面那一行就可以直接Judge了

http://zerojudge.tw/SubmitCode?problemid=題號

ex: http://zerojudge.tw/SubmitCode?problemid=a001

其實他的網站只有讀題目內容有錯誤,其他的部分還是正常的
希望可以幫助有遇到相同問題的人,最好是快點修好比較重要啦,畢竟我的方法是治標不治本。




沒有留言:

張貼留言