英文:
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
。
非常有效,谢谢
英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论