geoserver v23.1 wms getcapabilites service exception

huangapple go评论66阅读模式
英文:

geoserver v23.1 wms getcapabilites service exception

问题

I have geoserver running on localhost. When I use GetCapabilities, I encounter the following error:

<<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" >   <ServiceException>
  java.lang.IllegalAccessError: superclass access check failed: class org.marlin.pisces.MarlinRenderingEngine (in unnamed module @0x6183b039) cannot access class sun.java2d.pipe.RenderingEngine (in module java.desktop) because module java.desktop does not export sun.java2d.pipe to unnamed module @0x6183b039
superclass access check failed: class org.marlin.pisces.MarlinRenderingEngine (in unnamed module @0x6183b039) cannot access class sun.java2d.pipe.RenderingEngine (in module java.desktop) because module java.desktop does not export sun.java2d.pipe to unnamed module @0x6183b039
</ServiceException></ServiceExceptionReport>

I'm running a platform independent binary on Ubuntu Desktop 22.04, and my Java version is openjdk version "17.0.7" 2023-04-18.

I'm facing issues connecting from QGIS, but the web interface is working fine. Currently, I have only set up one workspace, one store, and one layer.

英文:

I have geoserver running on local host. GetCapabilites produces the following error:

<<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" > <ServiceException>
java.lang.IllegalAccessError: superclass access check failed: class org.marlin.pisces.MarlinRenderingEngine (in unnamed module @0x6183b039) cannot access class sun.java2d.pipe.RenderingEngine (in module java.desktop) because module java.desktop does not export sun.java2d.pipe to unnamed module @0x6183b039
superclass access check failed: class org.marlin.pisces.MarlinRenderingEngine (in unnamed module @0x6183b039) cannot access class sun.java2d.pipe.RenderingEngine (in module java.desktop) because module java.desktop does not export sun.java2d.pipe to unnamed module @0x6183b039
</ServiceException></ServiceExceptionReport>

running platform independent binary on Ubuntu Desktop 22.04, java is openjdk version "17.0.7" 2023-04-18

I am unable to connect from e.g Qgis

The web interface works fine. I only have one workspace, one store and one layer so far ...

答案1

得分: 1

根据 @IanTurton 的建议,我阅读了 https://docs.geoserver.org/2.23.x/en/user/production/java.html

然后按照页面上的建议执行了 rm webapps/geoserver/WEB-INF/lib/marlin-0.9.3.jar

非常有效,谢谢 geoserver v23.1 wms getcapabilites service exception

英文:

As advised by @IanTurton I read https://docs.geoserver.org/2.23.x/en/user/production/java.html

I then did rm webapps/geoserver/WEB-INF/lib/marlin-0.9.3.jar as suggested on that page.

Worked a treat, thank you geoserver v23.1 wms getcapabilites service exception

huangapple
  • 本文由 发表于 2023年6月9日 01:01:12
  • 转载请务必保留本文链接:https://go.coder-hub.com/76434161.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定