My hello-world "Jakarta EE 9" project, hosted at https://github.com/iubar/hello-jaxrs works only in Payara 5.2021.2 but not in Tomcat 10 nor in Wildfly 23.0. Any ideas ?
Regarding Wildfly 23, there are two versions available (cf. download page):
jakarta.*
namespace.Regarding Tomcat 10: Tomcat implements only five (Servlet, JSP, EL, Websocket and JASPIC) specification of Jakarta EE 9 (cf. version list). Since the Servlet API interacts with other specifications (e.g. Annotations, JPA and JAX-WS) Tomcat will behave correctly if you add the spec and implementation JARs to the common classpath ($CATALINA_HOME/lib
).
The link to your project is broken, but I guess it uses JAX-RS. Therefore you have two options:
jersey-server
, jersey-container-servlet
and probably an InjectionManager.