Hi Nuno,

I did the ticket for this issue: 
https://osgeo-org.atlassian.net/browse/GEOS-10619


R.
pawel


W dniu 11.08.2022 o 10:30, Nuno Oliveira pisze:
Hi Paweł,
that looks like a classpath issue, would you open up a ticket for this?

Thank you,
Nuno Oliveira

On Thu, Aug 11, 2022 at 9:09 AM Paweł Soczewski via Geoserver-users 
<geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
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/GP-2a.png%5D%5Bhttps://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<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--

Regards,

Nuno Oliveira

== GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information. == Nuno Miguel 
Carvalho Oliveira @nmcoliveira Technical Lead / Project Manager

GeoSolutions Group phone: +39 0584 962313 fax:      +39 0584 1660272 
https://www.geosolutionsgroup.com/ http://twitter.com/geosolutions_it 
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa 
che ogni circostanza inerente alla presente email (il suo contenuto, gli 
eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i 
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per 
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei 
comunque grato se potesse darmene notizia. This email is intended only for the 
person or entity to which it is addressed and may contain information that is 
privileged, confidential or otherwise protected from disclosure. We remind that 
- as provided by European Regulation 2016/679 “GDPR” - copying, dissemination 
or use of this e-mail or the information herein by anyone other than the 
intended recipient is prohibited. If you have received this email by mistake, 
please notify us immediately by telephone or e-mail.


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

Reply via email to