tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirys <ki...@neoteroi.org>
Subject WARNING: No operation matching request path on a full jax-rs app
Date Sun, 05 Jun 2016 19:14:55 GMT
Hi again,

I'm building a rest service that is a bunch of stateless beans with 
@Path("/whatever"), and as suggested here some time ago a

@ApplicationPath("/")
public class WebApp extends Application {

}

My issue is that if i requested a path that have no handler path instead 
of a 404 an empty page is produced (tomee plume 1.7.2).

and in the log i see something like


WARNING: No operation matching request path "/gascedev/notexists" is 
found, Relative Path: /notexists, HTTP Method: GET, ContentType: */*, 
Accept: 
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8,. Please 
enable FINE/TRACE log level for more details.


how can i handle those a generate a 404 page?

Thank You

K.


Mime
View raw message