Hi, Looks correct, see example from GitHub:
https://github.com/eclipse-ee4j/jersey/blob/3.1/examples/servlet3-webapp/pom.xml But I assume that Jersey 3.1.x does implement jax-rs 3.1, so maybe that's the reason it cannot find this class. Mfg Thomas Am 10. September 2024 20:07:07 MESZ schrieb "Jürgen Weber" <webe...@gmail.com>: >Hi, > >I am looking for a working minimal Jersey on Tomcat 10.1 Maven based >REST example. >What I found all give ClassNotFoundExceptions. > >Anybody knows an example on github? > >Does Jersey even work on Tomcat? > >Thx > > >java.lang.ClassNotFoundException: org.glassfish.jersey.client.ClientConfig >java.lang.NoClassDefFoundError: jakarta/ws/rs/core/EntityPart > ><groupId>org.glassfish.jersey</groupId> ><artifactId>jersey-bom</artifactId> ><version3.1.8</version> > ><groupId>jakarta.ws.rs</groupId> ><artifactId>jakarta.ws.rs-api</artifactId> ><version>3.0.0</version> > ><groupId>org.glassfish.jersey.containers</groupId> ><artifactId>jersey-container-servlet</artifactId> > ><groupId>org.glassfish.jersey.inject</groupId> ><artifactId>jersey-hk2</artifactId> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >For additional commands, e-mail: users-h...@tomcat.apache.org > -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.