From: Nick S. <nsi...@nu...> - 2021-10-25 18:46:18
|
All: I was able to resolve this issue by downgrading my version of Java to Java 8 from Java 11. That seemed to resolve the issue. Nick On 10/24/21 11:34 PM, Nick Sincaglia wrote: > I just installed the latest eXist-db v5.3.0 on a server. I started to > copy over my XQuery code to the server using WebDAV. Everything was > copying over fine until I tried to copy a module I wrote called > utilities.xqm. When I tried copying utilities.xqm over to the server, > I got the following error: > > Could not initialize class org.exist.xquery.modules.mail.MailModule > > I found this very puzzling. So, I tried to create this file from > scratch in eXide. I created an empty utilities.xqm file and I then > copied one function at a time from my original utilities.xqm file and > I would save the new file. I did this for each function from my > original file. I discovered that when I copied and pasted a function > called utilities:date-time-directory(), this is when eXist-db would > display a pop-up window in eXide with the above mentioned error. > > Is this a function name conflict with something in > org.exist.xquery.modules.mail.MailModule? > > If I change my function name to utilities:date-time-directories() > instead, the file saves just fine. But if I change the function back > to utilities:date-time-directory(), I get the "Could not initialize > class org.exist.xquery.modules.mail.MailModule" error message. > > I tried looking through my code to see if there was any references to > utilities:date-time-directory() anywhere in my code and if any > references were in an XQuery module that imported the > org.exist.xquery.modules.mail.MailModule. However, when I tried to > pull of Edit -> Find in files in the eXide menu, that tool did not > respond. Normally a pop-up window would appear and allow me to search > my code for a particular string. No pop-up window would appear. > > I am a little confused. Does anyone have any insights to this issue? > > Nick > > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open -- Nick Sincaglia President/Founder NueMeta, LLC Digital Media & Technology Phone: +1-630-303-7035 nsi...@nu... http://www.nuemeta.com Skype: nsincaglia |