Hi All, I want to move the production implementation of OGC API-Feature service based on an early version of Geoserver 2.19.x. up to newer version. Unfortunately both 2.20.x and 2.21.x don't support custom GML and HTML user templates. After choosing HTML and GML encoding the server the server responds with an error:
{"type":"NoApplicableCode","title":"java.lang.NoSuchMethodError: org.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;\norg.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;"} However custom templates for GeoJSON and JSON-LD work fine. I use the same configuration as works fine in early 2.19.x. When I don't use my custom GML and HTML temaplates and Geoserver uses predefined formating, the service works fine as well. I also tested the last version of 2.19.x with latest dedicated for it moduls OGC API and Feature Templating and it dosen't work too but the reason is diffrent. After instaling .jar libraries the Geoserver application dosen't started. When delete libraries OGC API and Feature Templating libraries it works fine. Any idea how to fix it? Regards, pawel Paweł Soczewski Główny Specjalista ds. Infrastruktury Przestrzennej +48502415540 GISPartner Sp. z o.o. ul. Jana Długosza 60 51-162 Wrocław NIP 898-20-27-647 KRS 0000173717 Sąd Rejonowy dla Wrocławia-Fabrycznej VI Wydział Gospodarczy Krajowego Rejestru Sądowego KAPITAŁ ZAKŁADOWY 1.000.000 zł [https://www.gispartner.pl/GP-1.png] [https://www.gispartner.pl/GP-2a.png][https://www.gispartner.pl/GP-2b.png]<https://www.gispartner.pl>[https://www.gispartner.pl/GP-2c.png]<https://www.linkedin.com/company/gispartner/>[https://www.gispartner.pl/GP-2d.png]<https://www.facebook.com/gispartnerPL/>[https://www.gispartner.pl/GP-2e.png]<https://twitter.com/GISPartner> _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users