Hello Stoph,
actually, the message is correct and points to the fact the the URI is not very well constructed.
Basically and very quickly, the URIs are parsed using this pattern:
protocol://[host[:port]]/path.
When using the FILE protocol, we estimate there is no host part which leads to handle this kind of URIs:
file:///c:/my/​path/src/mypackage/...
Please note the starting part "file:///" which contains three "/" characters instead of two as you imagined...
You can also rely on the LocalReference#create* methods in order to build your URIs.
Best regards,
Thierry Boileau
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2413719