NetXMS Support Forum

English Support => General Support => Topic started by: it_user1 on March 18, 2025, 12:46:33 PM

Title: error java web interface
Post by: it_user1 on March 18, 2025, 12:46:33 PM
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
Title: Re: error java web interface
Post by: Filipp Sudanov on March 18, 2025, 01:38:28 PM
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