JAX-RS webapp deployed to Tomcat returns HTTP 404 error while it works fine in Eclipse

52 views Asked by At

i'm trying o deploy a Jax-RS webapp on Tomcat using Apache CXF implementation. Its a simple webapp for an exercise for university. When i do it using Eclipse all works fine, the applicaion gets recognized and i can reach it using web browser. If i try to generate a war and deploy it in any other way, it gets recognized but i can't reach it in any way, what am i missing?

service implementation

service interface, application class my directory structure in webapps directory is: structure

i try to reach the webapp at "localhost:8080/es4.3/eshop/items" but i get this error: error

im using old versions of Tomcat because that's what's our teacher told us, because of some incompatibility between Apache CXF and jax-ws due to its tranisition to jakarta

0

There are 0 answers