What u need to do is put the FileOutput Stream in try catch block that will remove the error and u will be able to move ahead with ur code.
This is a discussion on Create ppt files from java - Java ; Hi, I am trying to create .ppt files(MS powerpoint) from java.I tried to use apache-poi for this.But I am getting an error:: "java.lang.NoSuchMethodError: org.apache.poi.hslf.HSLFSlideShow.writeProperties(Lorg/apache/poi/ poifs/filesystem/POIFSFileSystem;Ljava/util/List " which I am unable to solve.This happens when I try to save the created ...
Hi,
I am trying to create .ppt files(MS powerpoint) from java.I tried to
use apache-poi for this.But I am getting an error::
"java.lang.NoSuchMethodError:
org.apache.poi.hslf.HSLFSlideShow.writeProperties(Lorg/apache/poi/
poifs/filesystem/POIFSFileSystem;Ljava/util/List"
which I am unable to solve.This happens when I try to save the created
slides using FileOutput Stream.I consulted the api && it says to use
FileOutput Stream only.
Has anybody here faced the same problem??Also what is
the best way to create .ppt files?
All suggestions are welcome.
Regards,
Abhi.
What u need to do is put the FileOutput Stream in try catch block that will remove the error and u will be able to move ahead with ur code.