I've just compared with a working project using Wildfly and RestEasy, I
shouldn't need to add a '/' at the beginning but I'll give it a try just in
case Jersey behaves differently.
> Message du 07/08/20 08:56
> De : "Simone Bordet"
> A : [email protected]
> Copie à : "Simone Bordet" , "JETTY user mailing list"
> Objet : Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty
> 9.4.31 doesn't respond
>
> Hi,
>
> On Fri, Aug 7, 2020 at 6:57 AM wrote:
> >
> > I still get an HTTP error 404 with your suggestion.
> >
> >
> >
> > diff --git a/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java
> > b/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java
> > index 1e0c09c..ee0f4f0 100644
> > --- a/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java
> > +++ b/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java
> > @@ -20,7 +20,7 @@ import javax.ws.rs.core.MediaType;
> >
> > import javax.ws.rs.core.Response;
> > import javax.ws.rs.core.Response.Status;
> >
> > -@Path("corsproxy")
> > +@Path("webresources/corsproxy")
>
> Don't you need a "/" at the beginning of the path?
>
> --
> Simone Bordet
> ----
> http://cometd.org
> http://webtide.com
> Developer advice, training, services and support
> from the Jetty & CometD experts.
>_______________________________________________
jetty-users mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users