执行jar文件生成pdf报错,Unsupported URL <file:///home
java -Djava.library.path=/usr/local/lib/ruby/gems/1.8/gems/sharp_office-1.0.1/ext/sigar -jar /usr/local/lib/ruby/gems/1.8/gems/sharp_office-1.0.1/ext/jodconverter-core-3.0-SNAPSHOT.jar [excel文件路径] [pdf路径]
Caused by: com.sun.star.lang.IllegalArgumentException: Unsupported URL <file:///home/reach/webs/webapp/public/files/201405/2014-05-09-12-51-33-7562.xls>
这是libreoffice没有安装导致的,安装libreoffice即可