Dear BaseX people,
suddenly RESTXQ does not work any more on my machine. (Here, "suddenly" means when using RESTXQ again after a pause of three months and having installed a new BaseX version in the meantime, 11.0 beta.)
Any attempt to access a RESTXQ-defined URL produces a mysterious error message:
HTTP ERROR 500 java.lang.NoClassDefFoundError: org/basex/build/text/TextOptions
URI: /dbaSTATUS: 500MESSAGE: java.lang.NoClassDefFoundError: org/basex/build/text/TextOptionsSERVLET: RESTXQCAUSED BY: java.lang.NoClassDefFoundError: org/basex/build/text/TextOptionsCAUSED BY: java.lang.ClassNotFoundException: org.basex.build.text.TextOptionsCaused by:java.lang.NoClassDefFoundError: org/basex/build/text/TextOptionsat org.basex.http.web.WebModule.parse(WebModule.java:63)at org.basex.http.web.WebModules.parse(WebModules.java:376)at org.basex.http.web.WebModules.parse(WebModules.java:367)at org.basex.http.web.WebModules.cache(WebModules.java:336)at org.basex.http.web.WebModules.find(WebModules.java:149)at org.basex.http.web.WebModules.restxq(WebModules.java:116)
Emptying the lib/custom folder did not help. Neither did a reinstallation of BaseX (see PS).
With kind regards -Hans-Jürgen
PS: After observing the error, I tried to install the official release (10.7). To my amazement, the version did not change, it remained the 11.0 beta snapshot, even after restarting the machine. And, of course, the error remained. (After this, I felt knocked out myself. Is there anything that I understand?)
-- Mag. Ing. Omar Siam Austrian Center for Digital Humanities and Cultural Heritage Österreichische Akademie der Wissenschaften | Austrian Academy of Sciences Stellvertretende Behindertenvertrauensperson | Deputy representative for disabled persons Bäckerstraße 13, 1010 Wien, Österreich | Vienna, Austria T: +43 1 51581-7295 omar.siam@oeaw.ac.at | www.oeaw.ac.at/acdh