Having defined my resources using annotations and running Jersey using
Jetty I get a problem when the path to the project I'm working on
contains a space. This causes the following error to be displayed:
Aug 31, 2009 3:10:52 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
example.rest.resources
Aug 31, 2009 3:10:52 PM
com.sun.jersey.server.impl.container.config.AnnotatedClassScanner scan
WARNING: URL, file:/C:/Documents and
Settings/user/workspace/restproject/target/classes/example/rest/resourcescannot
be converted to a URI
Aug 31, 2009 3:10:52 PM
com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.1-ea
07/14/2009 07:16 PM'
Everything works fine when this project is moved to a different location
that doesn't contain any spaces.
Regards,
Dain