dubbo-admin部署出错

org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.IllegalAccessError: com.alibaba.citrus.service.requestcontext.locale.impl.SetLocaleRequestContextImpl$RequestWrapper.getServletContext()Ljavax/servlet/ServletContext;
        at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:555)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:461)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.alibaba.citrus.webx.support.AbstractWebxRootController.giveUpControl(AbstractWebxRootController.java:301)
        at com.alibaba.citrus.webx.support.AbstractWebxRootController.service(AbstractWebxRootController.java:168)
        at com.alibaba.citrus.webx.servlet.WebxFrameworkFilter.doFilter(WebxFrameworkFilter.java:152)
        at com.alibaba.citrus.webx.servlet.FilterBean.doFilter(FilterBean.java:147)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.alibaba.citrus.webx.servlet.SetLoggingContextFilter.doFilter(SetLoggingContextFilter.java:61)
        at com.alibaba.citrus.webx.servlet.FilterBean.doFilter(FilterBean.java:147)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1482)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)
Caused by: javax.servlet.ServletException: java.lang.IllegalAccessError: com.alibaba.citrus.service.requestcontext.locale.impl.SetLocaleRequestContextImpl$RequestWrapper.getServletContext()Ljavax/servlet/ServletContext;
        at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:909)
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:838)
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:403)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
        ... 34 more
Caused by: java.lang.IllegalAccessError: com.alibaba.citrus.service.requestcontext.locale.impl.SetLocaleRequestContextImpl$RequestWrapper.getServletContext()Ljavax/servlet/ServletContext;
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:102)
        ... 37 more
ERROR impl.WebxRootControllerImpl - Exception occurred while commit rundata
java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
        at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:478)
        at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:129)
        at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:129)
        at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:129)
        at com.alibaba.citrus.service.requestcontext.lazycommit.impl.LazyCommitRequestContextImpl$ResponseWrapper.commit(LazyCommitRequestContextImpl.java:198)
        at com.alibaba.citrus.service.requestcontext.lazycommit.impl.LazyCommitRequestContextImpl$ResponseWrapper.access$000(LazyCommitRequestContextImpl.java:133)
        at com.alibaba.citrus.service.requestcontext.lazycommit.impl.LazyCommitRequestContextImpl.commit(LazyCommitRequestContextImpl.java:126)
        at com.alibaba.citrus.service.requestcontext.impl.RequestContextChainingServiceImpl.commitRequestContext(RequestContextChainingServiceImpl.java:289)
        at com.alibaba.citrus.webx.support.AbstractWebxRootController.commitRequest(AbstractWebxRootController.java:320)
        at com.alibaba.citrus.webx.support.AbstractWebxRootController.service(AbstractWebxRootController.java:173)
        at com.alibaba.citrus.webx.servlet.WebxFrameworkFilter.doFilter(WebxFrameworkFilter.java:152)
        at com.alibaba.citrus.webx.servlet.FilterBean.doFilter(FilterBean.java:147)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.alibaba.citrus.webx.servlet.SetLoggingContextFilter.doFilter(SetLoggingContextFilter.java:61)
        at com.alibaba.citrus.webx.servlet.FilterBean.doFilter(FilterBean.java:147)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1482)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)
 INFO interceptor.RestfuleUrlRewriter -  [DUBBO] REWRITE restful uri /governance/services to uri governance/services.htm?{_type=services, _path=governance/services}, dubbo version: 2.5.4-SNAPSHOT, current host: 172.16.158.211
 INFO interceptor.AuthorizationValve -  [DUBBO] AuthorizationValve of uri: /governance/services, dubbo version: 2.5.4-SNAPSHOT, current host: 172.16.158.211
 INFO interceptor.RestfuleUrlRewriter -  [DUBBO] REWRITE restful uri /governance/services to uri governance/services.htm?{_type=services, _path=governance/services}, dubbo version: 2.5.4-SNAPSHOT, current host: 172.16.158.211
 INFO interceptor.AuthorizationValve -  [DUBBO] AuthorizationValve of uri: /governance/services, dubbo version: 2.5.4-SNAPSHOT, current host: 172.16.158.211
 INFO interceptor.AuthorizationValve -  [DUBBO] AuthorizationValve of uri: /, dubbo version: 2.5.4-SNAPSHOT, current host: 172.16.158.211
ERROR valve.HandleExceptionValve - Failed to process request /, the root cause was IllegalAccessError: com.alibaba.citrus.service.requestcontext.locale.impl.SetLocaleRequestContextImpl$RequestWrapper.getServletContext()Ljavax/servlet/ServletContext;

 

当刚启动dubbo-admin后出现如上错误时:请在链接后面加上/index.html

正确的写法是http://127.0.0.1:8081/index.html

你可能感兴趣的:(dubbo)