Export to Excel is very nice... but occasionally I don't have to write files but read. So I have created a custom control which reads the content of an excel file and give it's content back as an ArrayList. Works great for xls files and it also works for xlsx files if I run the XPage in the Notes Client. But if I try the same on the server, it doesn't work... So why I tell you that? For reading the file I accessed the Java classes of POI (which are provided by POI 4 XPages) directly. It seems that the Classloader can't see a few classes of the Java classes provided by the OSGi plugin.
I get this error:
java.lang.NoClassDefFoundError: org.apache.poi.openxml4j.opc.internal.unmarshallers.PackagePropertiesUnmarshaller (initialization failure)
Do you have an idea how I can fix this problem?
Thanks in advance...