From: Loren C. <lor...@gm...> - 2021-12-23 15:48:09
|
Hello Dannes, I removed java 11 from my system and set the java version to 8. Loren > On Dec 23, 2021, at 9:27 AM, Dannes Wessels <da...@ex...> wrote: > > Hi Loren, > > This is a known issue/feature, not specific to eXist-db; > > Something ‘ugly’ happened in the Java11 compiler regarding java.nio.ByteBuffer so if you compile eXist-db with Java11, you can not run it on Java8. > > I mentioned it on the Monday teleconf actually. > > There are quite many references on internet, see here <https://duckduckgo.com/?q=java.nio.ByteBuffer.clear()+java+8&t=osx&ia=web>. > > On SO there is a workaround mentioned <https://stackoverflow.com/a/61267496>, but I never dared to apply it, as I did not trust it to modify so low level code. I think I remember I retracted my PR for that. > > cheers > > Dannes > > >> On 21 Dec 2021, at 18:06 , Loren Cahlander <lor...@gm... <mailto:lor...@gm...>> wrote: >> >> java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer; >> org.exist.EXistException: java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer; >> at org.exist.storage.BrokerPool.initialize(BrokerPool.java:465) ~[exist.uber.jar:5.3.1] >> at org.exist.storage.BrokerPools.configure(BrokerPools.java:177) [exist.uber.jar:5.3.1] >> at org.exist.storage.BrokerPools.configure(BrokerPools.java:112) [exist.uber.jar:5.3.1] >> at org.exist.jetty.JettyStart.run(JettyStart.java:216) [exist.uber.jar:5.3.1] >> at org.exist.jetty.JettyStart.main(JettyStart.java:103) [exist.uber.jar:5.3.1] > |