milton2 icon indicating copy to clipboard operation
milton2 copied to clipboard

Could not open collection

Open NotBad4U opened this issue 8 years ago • 1 comments

I'm trying to include milton community version in my existing app j2ee build with jersey. The Ressource Controllers seem's to bee correctly loaded with the annotations @ResourceController. But when I use cadaver with the url: cadaver http://localhost:8080/torii/webdav/

I get the error:

Could not open collection:
404 Not Found

When I activate the debugger, I saw the error happened on the ResourceHandlerHelper.java in the process function (line 68) where the call Resource r=manager.getResourceFactory().getResource(host, url); (line 89) return me null and so you'll return a http 404.

NotBad4U avatar May 15 '17 12:05 NotBad4U

Hey, looks like you havent integrated the demo app correctly, i would say the rootpath hasnt been configured into the milton stack.

Best thing is to run the projects from maven until you're familiar with the structure.

bradmac avatar Nov 30 '17 09:11 bradmac