exist-sparql icon indicating copy to clipboard operation
exist-sparql copied to clipboard

"Cannot find module class from EXPath repository" error in eXist 3.0

Open joewiz opened this issue 7 years ago • 7 comments

After installing this in eXist 3.0 (via package manager), adding the required <module> element to conf.xml as directed in the README.md file, and restarting eXist, I get the following error when triggering eXide's function documentation lookup:

<exception>
  <path>/db/apps/eXide/modules/docs.xql</path>
  <message>exerr:ERROR Cannot find module class from EXPath repository: org.exist.xquery.rdf.SparqlModule [at line 46, column 46, source: /db/apps/eXide/modules/docs.xql]
In function:
	local:get-matching-functions(xs:string) [174:13:/db/apps/eXide/modules/docs.xql]</message></exception>

Steps to reproduce:

  1. Install this package in eXist 3.0 via Dashboard > Package Manager > Available
  2. Add <module> element to conf.xml
  3. Restart eXist
  4. Open eXide (also, latest via Package Manager)
  5. Enter concat and hit ctrl-space to trigger lookup of the module. eXide reports an error; opening Chrome Developer tools > Network shows the request to docs.xql returns a 400 Bad Request error, with the response body showing the error above.

I'd be happy to test fixes.

joewiz avatar Feb 13 '17 17:02 joewiz