java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getLocalAddr()Ljava/lang/String;
at org.restlet.ext.servlet.ServerServlet.getLocalAddr(ServerServlet.java:872)
at org.restlet.ext.servlet.ServerServlet.createServer(ServerServlet.java:497)
at org.restlet.ext.servlet.ServerServlet.getServer(ServerServlet.java:915)
at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1086)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:342)
at com.topsec.tsm.ui.topdesk.common.EncodingFilter.doFilter(EncodingFilter.java:168)
at org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicationHandler.java:334)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:286)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.jboss.jetty.Jetty.service(Jetty.java:460)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)

解决方案 »

  1.   

    如果确认配置都没问题,可以把页面关掉,tomcat重新部署下(tomcat里的jsp工程先删除再部署)。
      

  2.   

    没有getLocalAddr方法,看对应路径是否有ServerServlet.class,
    clean重编译试试
      

  3.   

    这个是2.4版本以后增加的方法,你额servlet-api Jar包有问题吧,看看是不是版本太低了。
      

  4.   

    antlrxxx.jar 有重复的 去删掉  留一个