Home > Enterprise >  How to solve java error on Geoserver GSR extension
How to solve java error on Geoserver GSR extension

Time:04-18


I have set up a Geoserver instance. Now I need the GSR extension to have an ArcGIS compatible REST API.
I installed the extension as described but on Geoserver startup I get a couple of errors and when I access the webpage a HTTP error 503.
I already tried different versions of Geoserver and JDK, all with the same result. Here is the Java error:

11:52:17.791 [main] ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gsrDispatcher' defined in URL [jar:file:/home/nico/gs/webapps/geoserver/WEB-INF/lib/gs-gsr-2.21-SNAPSHOT.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is javax.xml.stream.FactoryConfigurationError: Provider for javax.xml.stream.XMLOutputFactory cannot be found

Thanks for any hint,
best regards
Nico

CodePudding user response:

I think you have did something wrong in applicationContext.xml file.

CodePudding user response:

Make sure you're installing the same plugin version for the same GeoServer version you're having.

enter image description here

  • Related