java.lang.NoSuchMethodError
org.apache.poi.util.IOUtils.readFully(Ljava/nio/channels/ReadableByteChannel;Ljava/nio/ByteBuffer;)I at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:195):195 at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:163):163 at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:145):145 at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:87):87 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method):-2 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57):57 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43):43 at java.lang.reflect.Method.invoke(Method.java:606):606 at lucee.runtime.reflection.pairs.MethodInstance.invoke(Unknown Source):-1 at lucee.runtime.java.JavaObject.call(Unknown Source):-1 at lucee.runtime.java.JavaObject.call(Unknown Source):-1 at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Unknown Source):-1 at lucee.runtime.PageContextImpl.getFunction(Unknown Source):-1 at cewit2015.com.poi_cfc$cf.udfCall(C:\inetpub\wwwroot\r1.events-registration.com\cewit2015\com\POI.cfc:17):17 at lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1 at lucee.runtime.type.UDFImpl._call(Unknown Source):-1 at lucee.runtime.type.UDFImpl.call(Unknown Source):-1 at lucee.runtime.ComponentImpl._call(Unknown Source):-1 at lucee.runtime.ComponentImpl._call(Unknown Source):-1 at lucee.runtime.ComponentImpl.call(Unknown Source):-1 at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Unknown Source):-1 at lucee.runtime.PageContextImpl.getFunction(Unknown Source):-1 at cewit2015.test_cfm$cf.call(C:\inetpub\wwwroot\r1.events-registration.com\cewit2015\test.cfm:9):9 at lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1 at lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1 at lucee.runtime.listener.ModernAppListener._onRequest(Unknown Source):-1 at lucee.runtime.listener.MixedAppListener.onRequest(Unknown Source):-1 at lucee.runtime.PageContextImpl.execute(Unknown Source):-1 at lucee.runtime.PageContextImpl.execute(Unknown Source):-1 at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(Unknown Source):-1 at lucee.loader.servlet.CFMLServlet.service(Unknown Source):-1 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727):727 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303):303 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241):241 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220):220 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122):122 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504):504 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170):170 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103):103 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116):116 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421):421 at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190):190 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611):611 at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314):314 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145):1145 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615):615 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61 at java.lang.Thread.run(Thread.java:745):745
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/1024c3a3-c081-43f5-8c6f-02b831037458%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
wf = createObject("java", "org.apache.poi.ss.usermodel.WorkbookFactory", expandPath("/jars/poi/poi-3.11-20141221.jar"));
wb = createObject("java", "org.apache.poi.ss.usermodel.WorkbookFactory");
f = createObject("java", "java.io.File").init(expandPath("test.xls"));
wb.create(f);
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/63236357-cb3d-4b8f-9e4f-301712997742%40googlegroups.com.
The problem now isn't a 3.11 vs 3.8 issue. I'm not using the 3.11 jar any longer, but I'm still getting the same error.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/3bb8e9c3-7763-4d67-9756-fe493cee8045%40googlegroups.com.
The problem now isn't a 3.11 vs 3.8 issue. I'm not using the 3.11 jar any longer, but I'm still getting the same error.
--
So how is it that my spreadsheet library works with POI 3.11, loaded
using JavaLoader?
I've also used JL successfully to load the latest PDFBox, an older
version of which is also in the core lib.
On 26 April 2015 at 08:39, Michael Offner <mic...@lucee.org> wrote:
> Let me explain from ground.
[...]
> As you can see, it is complicated and JavaLoader is for sure not helping
> with that.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAC_5Vori%3DH_1wQQr0yNtK5VsdPP-oqgD0qeZoR3bzqUHKK3ktA%40mail.gmail.com.
wb = createObject("java", "org.apache.poi.ss.usermodel.WorkbookFactory");
If you get that error you still have a version conflict for sure, I cannot say why. Don't forget rename the jar or move it to a sub folder will not hide it from the servlet engine...
Micha
Am Samstag, 25. April 2015 schrieb Jonathan Brookins :
The problem now isn't a 3.11 vs 3.8 issue. I'm not using the 3.11 jar any longer, but I'm still getting the same error.--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/553D27E6.4030001%40gmail.com.
Micha,I'm not using the jars anymore, just trying to use the POI 3.8 inside of Lucee. Does this not instantiate the Workbook Factory, or is there a specific Lucee-based namespace to access it?
wb = createObject("java", "org.apache.poi.ss.usermodel.WorkbookFactory");
On Sunday, April 26, 2015 at 3:41:27 AM UTC-4, Micha wrote:
If you get that error you still have a version conflict for sure, I cannot say why. Don't forget rename the jar or move it to a sub folder will not hide it from the servlet engine...
Micha
Am Samstag, 25. April 2015 schrieb Jonathan Brookins :
The problem now isn't a 3.11 vs 3.8 issue. I'm not using the 3.11 jar any longer, but I'm still getting the same error.--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/3bb8e9c3-7763-4d67-9756-fe493cee8045%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/59a64817-5db8-41f9-a7aa-6a65b95c194a%40googlegroups.com.
org.apache.poi.util.IOUtils.readFully(Ljava/nio/channels/ReadableByteChannel;Ljava/nio/ByteBuffer;)I at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:195):195 at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:163):163 at org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:145):145 at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:87):87 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method):-2 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57):57 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43):43 at java.lang.reflect.Method.invoke(Method.java:606):606 at lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodInstance.java:55):55 at lucee.runtime.java.JavaObject.call(JavaObject.java:234):234 at lucee.runtime.java.JavaObject.call(JavaObject.java:256):256 at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:742):742 at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1586):1586 at cewit2015.test_cfm$cf.call(C:\inetpub\wwwroot\r1.events-registration.com\cewit2015\test.cfm:14):14 at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:948):948 at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:900):900 at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:223):223 at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:35):35 at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2254):2254 at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2221):2221 at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:456):456 at lucee.loader.servlet.CFMLServlet.service(Unknown Source):-1 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727):727 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303):303 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208 at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52):52 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241):241 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208):208 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220):220 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122):122 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504):504 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170):170 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103):103 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116):116 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421):421 at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190):190 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611):611 at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314):314 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145):1145 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615):615 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61):61 at java.lang.Thread.run(Thread.java:745):745
between the linesMicha
On Mon, Apr 27, 2015 at 8:02 AM, Jonathan Brookins <jon.br...@gmail.com> wrote:Micha,I'm not using the jars anymore, just trying to use the POI 3.8 inside of Lucee. Does this not instantiate the Workbook Factory, or is there a specific Lucee-based namespace to access it?nope
wb = createObject("java", "org.apache.poi.ss.usermodel.WorkbookFactory");looks right to me, what happens?
On Sunday, April 26, 2015 at 3:41:27 AM UTC-4, Micha wrote:
If you get that error you still have a version conflict for sure, I cannot say why. Don't forget rename the jar or move it to a sub folder will not hide it from the servlet engine...
Micha
Am Samstag, 25. April 2015 schrieb Jonathan Brookins :
The problem now isn't a 3.11 vs 3.8 issue. I'm not using the 3.11 jar any longer, but I'm still getting the same error.--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/3bb8e9c3-7763-4d67-9756-fe493cee8045%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAG%2BEEBy8trjqRj1Z%3DGPKHOPwHVzbXHsaj82ZxPyM6x2BXq_fZQ%40mail.gmail.com.