当前位置: 首页 > news >正文

北京网站设计的公司价格微软做网页的软件

北京网站设计的公司价格,微软做网页的软件,国际域名注册网站,网站返回500错误今天碰到个奇怪问题#xff0c;改了个页面标题再打包布署GeoServer发现调用WTMS服务失败#xff0c;请求返回状态码200#xff0c;返回包大小0#xff0c;使用postman模拟请求是可以正常返回图片的。 跟之前版本对比如下#xff1a; 正常Response请求: HTTP/1.1 200X-Fr…今天碰到个奇怪问题改了个页面标题再打包布署GeoServer发现调用WTMS服务失败请求返回状态码200返回包大小0使用postman模拟请求是可以正常返回图片的。 跟之前版本对比如下 正常Response请求: HTTP/1.1 200X-Frame-Options: SAMEORIGINX-Content-Type-Options: nosniffgeowebcache-tile-index: [13591, 9726, 14]Cache-Control: no-cache, no-store, must-revalidatePragma: no-cacheExpires: 0geowebcache-cache-result: HITgeowebcache-tile-index: [13591, 9726, 14]geowebcache-tile-bounds: 13205872.500935059,3752140.8439404294,13208318.485839844,3754586.828845214geowebcache-gridset: EPSG:3857geowebcache-crs: EPSG:3857Last-Modified: Wed, 08 Jan 2025 03:40:58 GMTContent-Disposition: inline; filenamegeoserver-dispatch.imageContent-Type: image/pngContent-Length: 188615Date: Thu, 27 Feb 2025 05:48:49 GMTKeep-Alive: timeout20Connection: keep-alive异常Response请求 HTTP/1.1 200X-Frame-Options: SAMEORIGINX-Content-Type-Options: nosniffgeowebcache-tile-index: [13591, 9726, 14]Cache-Control: no-cache, no-store, must-revalidatePragma: no-cacheExpires: 0geowebcache-cache-result: HITgeowebcache-tile-index: [13591, 9726, 14]geowebcache-tile-bounds: 13205872.500935059,3752140.8439404294,13208318.485839844,3754586.828845214geowebcache-gridset: EPSG:3857geowebcache-crs: EPSG:3857Last-Modified: Wed, 08 Jan 2025 03:40:58 GMTContent-Disposition: inline; filenamegeoserver-dispatch.imageContent-Type: image/pngContent-Length: 188615Date: Thu, 27 Feb 2025 05:48:49 GMTKeep-Alive: timeout20Connection: keep-alive发现异常中没有Access-Control-Allow-Origin 才想起来之前好像配置过跨域 修改跨域web.xml 注意如果按deepseek推荐使用org.eclipse.jetty.servlets.CrossOriginFilter这个类需要添加jar包jetty-servlets-9.4.56.v20240826.jar, jetty-util-9.4.56.v20240826.jar 下面我推荐tomcat的不用加jar包 !-- Uncomment following filter to enable CORS in Tomcat. Do not forget the second config block further down. --filterfilter-namecross-origin/filter-namefilter-classorg.apache.catalina.filters.CorsFilter/filter-classinit-paramparam-namecors.allowed.origins/param-nameparam-value*/param-value/init-paraminit-paramparam-namecors.allowed.methods/param-nameparam-valueGET,POST,PUT,DELETE,HEAD,OPTIONS/param-value/init-paraminit-paramparam-namecors.allowed.headers/param-nameparam-value*/param-value/init-param/filter!-- Uncomment following filter-mapping to enable CORS --filter-mappingfilter-namecross-origin/filter-nameurl-pattern/*/url-pattern/filter-mapping完了记录清理Tomcat缓存apache-tomcat-8.5.99\work\Catalina\localhost 重启Tomcat就可以正常使用。 如果需要修改缓存目录修改geoserver中web.xml增加 context-paramparam-nameGEOSERVER_DATA_DIR/param-nameparam-valueE:\map\geoserver-2.15.0\webapps\geoserver\data/param-value/context-paramcontext-paramparam-nameGEOWEBCACHE_CACHE_DIR/param-nameparam-valueE:\map\geoserver-2.15.0\cache/param-value/context-param
http://www.dnsts.com.cn/news/39492.html

相关文章:

  • 深圳品牌网站设计专家中国电商网官网
  • 大学网站建设与功能开发域名访问网站的知识
  • 东莞外贸公司网站制作国内最好的网站建设
  • 麻涌网站建设公司厦门论坛网站建设
  • 网站推广是网站建设完成之后的长期工作重庆网站制作外包公司
  • 中国建设网站官方网站外链网址
  • 涪陵做网站前程无忧网广州网站建设类岗位
  • 旅游网站设计报告做网站要服务器吗
  • 广东省建设工程总监扣分查询网站新农村建设的网站
  • 可免费注册的网站关键词搜索量怎么查
  • 企业建站找哪家东莞网站建设及外包
  • 网络公司网站asp红河北京网站建设
  • 徐州建站网站模板企业形象网站用什么语言开发
  • 无锡市滨湖区建设局网站优秀设计师的个人网站
  • php租车网站wordpress如何设置字体大小
  • 西安网站挂标智库建设网站
  • 知名网站定制公司电话手机网站开源
  • 网站建设电子商务wordpress slider设置
  • 合肥网站设计服网站开发整体制作流程
  • 企业网站 优秀重庆怎么站seo
  • 广州网站建设便宜山西网络广告推广
  • 淘宝客必须做网站app制作程序
  • asp.net做三个网站怎样把网站做的更好
  • 网站建设后需要交费吗北京网站报价
  • 电商运营的网站网站建设外包 排名
  • 佛山建站佛山网页设计腾讯企点下载安装
  • 外贸网站适合用数字域名吗怎么制作网站生成图片
  • 全国注册室内设计师网中英文网站用一个域名还是两个域名利于优化
  • wordpress 网站上传怎样能在百度上搜索到自己的店铺
  • 做网站的劣势遵义网站开发公司