suddenly...java function x is unknown
A guess out of left field: do you have two versions of the same library on your class path?
Quoted text · Erik Peterson · 15 lines
On Thu, Mar 30, 2017 at 7:10 PM Erik Peterson <ep at ardec.com> wrote: > I've been integrating basex with 3rd party java jar files by dropping them > in the basex/lib directory. This has worked fine until today when I now git > "java function x is unknown". I've... > - re-pulled everything from our repo to make sure all binaries are as they > were when working > - restarted osx > - updated java > > - using BaseX VERSION 8.6.1 (February 24, 2017) > > It's working on other dev machines but not mine. Why would BaseX stop > loading the classes from the lib jar files? Is there a better way I should > be deploying jars? Thanks. >
I've been integrating basex with 3rd party java jar files by dropping them in the basex/lib directory. This has worked fine until today when I now git "java function x is unknown". I've... - re-pulled everything from our repo to make sure all binaries are as they were when working - restarted osx - updated java
- using BaseX VERSION 8.6.1 (February 24, 2017)
It's working on other dev machines but not mine. Why would BaseX stop loading the classes from the lib jar files? Is there a better way I should be deploying jars? Thanks.
Issue solved. I think it was java on my system...I updated and restarted and it worked. When osx restarted it put me in an older basex directory, so that sent me on rabbit trail. Still not sure why it lost the jars the first time though.
Quoted text · Erik Peterson · 15 lines
On Thu, Mar 30, 2017 at 5:09 PM, Erik Peterson <ep at ardec.com> wrote: > I've been integrating basex with 3rd party java jar files by dropping them > in the basex/lib directory. This has worked fine until today when I now git > "java function x is unknown". I've... > - re-pulled everything from our repo to make sure all binaries are as they > were when working > - restarted osx > - updated java > > - using BaseX VERSION 8.6.1 (February 24, 2017) > > It's working on other dev machines but not mine. Why would BaseX stop > loading the classes from the lib jar files? Is there a better way I should > be deploying jars? Thanks. >
Written for BaseX 8.6. BaseX may have changed since: please check the current documentation.