File file = new File((new StringBuilder()).append(s2).append(File.separator).append(s1).toString());
file.renameTo(new File((new StringBuilder()).append(s2).append(File.separator).append("$$tsjoof$$.ppt").toString()));
SocketOpenOfficeConnection socketopenofficeconnection = new SocketOpenOfficeConnection();
我正在导入.ppt
文件,但它在SocketOpenOfficeConnection
上提供了例外情况:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
org/apache/poi/POIDocument
Caused by: java.lang.ClassNotFoundException:
org.apache.poi.POIDocument
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
org/slf4j/LoggerFactory
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
我还导入poi-2.5.1.jar,poi-scratchpad-3.1-FINAL.jar,ridl-2.4.1.jar,xbean-1.0.3.jar
请给我一些解决方案。