ColdFusion 11 REST returning 404
FWIW, over 4 years after the question was asked, and I haven't used CF for a while, and I'm trying to work my way through setting up a RESTful service.
I was getting a 404, and saw this in my exception.log:
java.io.FileNotFoundException: .../cfusion/wwwroot/WEB-INF/rest-skeletons/path.to.component.Fubar.class (Permission denied)
I checked and the account running the service didn't have permission to write to the "rest-skeletons" directory. I changed that, no more 404, on to the next problem!
Try to initialize by running this in the separate .cfm file:
<cfset restInitApplication("C:\wwwroot\CFREST2","test")>