error java web interface

Started by it_user1, March 18, 2025, 12:46:33 PM

Previous topic - Next topic

it_user1

Hi,

i have upgrade the netxms to lastet version and uploaded the new war file. but i have this error when i try to open netxms webinterface

jakarta.servlet.ServletException: Error instantiating servlet class [org.restlet.ext.servlet.ServerServlet]


java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet


java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet


netxms run on ubuntu server with tomcat 10.1.19 and java  17.0.10+7-Ubuntu-122.04.1

what's the problem?

thanks
Andrea

Filipp Sudanov

Hi,

Tomcat 10 uses version of servlet api that is not supported by the framework on which the gui is built.

You can use jetty 10-12, tomcat 9 or our launcher based on Jetty10 https://github.com/netxms/nxmc-web-launcher