20: OSSClient client = new OSSClient(ENDPOINT, ACCESS_ID, ACCESS_KEY);21: byte[] bytes = TestTileCache.getCompressedTile("D:/platform/tilecache1","zjemap", "214", "42", "8", null, client);22: FileOutputStream foss = new FileOutputStream("D:/testlly1.png");23: foss.write(bytes);Stacktrace:org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)javax.servlet.http.HttpServlet.service(HttpServlet.java:728)com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:270)
root causejavax.servlet.ServletException: java.lang.NoSuchMethodError: org.apache.http.impl.conn.DefaultClientConnectionOperator.<init>(Lorg/apache/http/conn/scheme/SchemeRegistry;Lorg/apache/http/conn/DnsResolver;)Vorg.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:912)org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:841)org.apache.jsp.ALtest_jsp._jspService(ALtest_jsp.java:100)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:728)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)javax.servlet.http.HttpServlet.service(HttpServlet.java:728)com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:270)
root causejava.lang.NoSuchMethodError: org.apache.http.impl.conn.DefaultClientConnectionOperator.<init>(Lorg/apache/http/conn/scheme/SchemeRegistry;Lorg/apache/http/conn/DnsResolver;)Vorg.apache.http.impl.conn.PoolingClientConnectionManager.createConnectionOperator(PoolingClientConnectionManager.java:138)org.apache.http.impl.conn.PoolingClientConnectionManager.<init>(PoolingClientConnectionManager.java:112)org.apache.http.impl.conn.PoolingClientConnectionManager.<init>(PoolingClientConnectionManager.java:101)com.aliyun.oss.common.comm.HttpClientFactory.createConnectionManager(HttpClientFactory.java:89)com.aliyun.oss.common.comm.HttpClientFactory.create HttpClient(HttpClientFactory.java:56)com.aliyun.oss.common.comm.DefaultServiceClient.<init>(DefaultServiceClient.java:54)com.aliyun.oss.OSSClient.<init>(OSSClient.java:235)com.aliyun.oss.OSSClient.<init>(OSSClient.java:160)org.apache.jsp.ALtest_jsp._jspService(ALtest_jsp.java:80)org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)javax.servlet.http.HttpServlet.service(HttpServlet.java:728)org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)javax.servlet.http.HttpServlet.service(HttpServlet.java:728)com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:270)
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。