How can I get the Apache POI Powerpoint code? - apache-poi

I'm not sure how to actually download the Apache POI scratchpad code that's used for Powerpoint?
The following page says to download the scratchpad jar, but where is that? I don't see it on the downloads page.
http://poi.apache.org/slideshow/index.html
Thanks!

It's very easy! First, visit the Apache POI Download Page. Next, download the binary distribution, as either Zip or Tar.Gz (depending on what works best on your system). Unpack that, and you'll have all the POI jars and their dependencies. Finally, review the components page to check what the dependencies are for each jar.

Related

How do I get jar file of webgoat

I want to learn cyber security and I started with webgoat(On youtube). It says that you should donwnload a jar file from github.com. But I am not able to get the jar file on https://github.com/WebGoat/WebGoat/releases
Looks like a while ago they stopped producing the jar file. Latest build with one is https://github.com/WebGoat/WebGoat/releases/tag/v8.1.0
If you want to use 8.2.0 look at building the source detailed https://github.com/WebGoat/WebGoat

p:photocam disable warnings

I am using photocam from Primefaces to capture a simple photo.
When a computer that has no webcam access the web page, an error
"Webcam.js Error: Could not access webcam."
shows up. Is it possible to supress this warning when the computer does not have a webcam? How can I do it?
I am using Java, a Web Maven Project with JSF and primefaces 6.0.
The solution was to edit the js file related to photocam (photocam.js).
To do that, I used 7-zip to access the file (inside Primefaces jar, Maven Repository) and extracted it.
After the extraction and the modifications, I replaced the older file.
The modification was to return null instead of the error message.

where do i find dse.jar for cassandra-spark join operation?

i'm working on cassandra joins using sql. i found that dse.jar is needed for the operation but couldn't find the path to download the jar. i googled and found that we need to maually download and add it to the project, but no one has said where to download the jar from.
[http://docs.datastax.com/en/datastax_enterprise/4.6/datastax_enterprise/spark/sparkJavaApi.html?scroll=sparkJavaApi__dsejar_unique_1][1]
You can't download the jar individually. It's usually under /usr/share/dse/dse.jar in package installations of Datastax Enterprise

How do you import the log4j jar file into an NSF?

I wanted to use the Apache POI classes for Streaming Excel spreadsheets. If I import the log4j-1.2.17.jar file into my Jars in the nsf then no XPages will load.
If I don't I get an error:
java.lang.NoSuchMethodError:
javax/xml/stream/XMLEventFactory.newFactory()Ljavax/xml/stream/XMLEventFactory;
at
org.apache.poi.openxml4j.opc.internal.marshallers.PackagePropertiesMarshaller.<clinit>(PackagePropertiesMarshaller.java:45)
at
java.lang.J9VMInternals.initializeImpl(Native Method)
at
java.lang.J9VMInternals.initialize(J9VMInternals.java:201)
at
Since many third party Java apis seem to use the log4j is there a solution? I think this is the same issue that came up with the web services API in XPages?
Your best course of action is to deploy OpenNTF essentials. It contains the POI classes and quite some ready made wrappers to make your life easier.
Deploy into sever via update site nsf approach and deploy to your designer too
Maybe your error can be from the same reason than in that questions. It's a problem of standard jars which come along with the domino installation.
Using External jar causing Error
Axis 1.4 log4j-1.2.8.jar incompatible with XPages?
Howard, put the jar file on the server as well as your local notes client and open up Java security permissions, I think that should do it. Also check that the version you are importing is compatible with Java version on Domino.

where can i get the sandbox tag library jar file

I am trying to use sanbox in my jsf application. So i need tag library for sandbox or jar file
can anyone help me out in this.
You can identify which Sandbox Jar you need to use from here

Resources