Hi,
Unfortunately, it's not possible to deploy JForum on a Tomcat version 10.x or v11.x instance since JForum only support up to Java/Jakarta EE 8.
This means that we are forced to use Tomcat version 9.0.98 (Java 8 and later) which is next in queue to be deprecated and unsupported. That is not good.
When I start up the Catalina container, I get the following exception:
java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet
The technical reason is that during the step from Java/Jakarta EE 8 to Jakarta EE 9 all javax.* packages have been renamed to jakarta.* packages. So there is no backwards compatibility anymore since Jakarta EE 9.
It is however very easy to fix. Just replace the javax.servlet.* imports in the JForum code by jakarta.servlet.*:
import jakarta.servlet.*;
import jakarta.servlet.http.*;
Do you have any plans on upgrading (or forking) JForum to support the newer Tomcat versions (Jakarta EE 9)?
It would be very much appreciated. Trust me.
Thanks!
Regards,
Tommy