执行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即可

时间: 2024-07-28 21:21:00

执行jar文件生成pdf报错,Unsupported URL <file:///home的相关文章

文件上传报错:Unknown: file created in the system&#39;s temporary directory

nginx+php下文件上传成功,但会有错误提示如下: <b>Notice</b>:  Unknown: file created in the system's temporary directory in <b>Unknown</b> on line <b>0</b><br /> 网上搜索相关资料发现可能和php下临时文件存放目录配置有关,查看进入php.ini配置文件 配置文件搜索upload_tmp_dir,默认/

AFNETWORKING tabelView没有reloadData,报错unsupported URL

Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo=0x7f9dc278aa60 {NSUnderlyingError=0x7f9dc2565dc0 "unsupported URL", NSErrorFailingURLStringKey=myUrl, NSErrorFailingURLKey=myUrl, NSLocalizedDescription=unsupported UR

【Unity3D】生成工程报错解决—UnityEditor.HostView:OnGUI() Error building Player: Couldn&#39;t build player because of unsupported data on target platform.

错误 错误1:An asset is marked as dont save, but is included in the build: unityEditor.HostView:OnGUI() 错误2:Building - Failed to write file: sharedassets0.assetsUnityEditor.HostView:OnGUI() 错误3:Error building Player: Couldn't build player because of unsup

11) 生成可执行jar文件 maven-shade-plugin

搜索 site:maven.apache.org maven-assembly-plugin http://maven.apache.org/plugins/maven-assembly-plugin/usage.html All goals except assembly:single have been deprecated. 以上不能使用,以下可以. http://maven.apache.org/plugins/maven-shade-plugin/ examples Executabl

Struts2实现文件上传报错(三)

1.具体错误如下 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-5-1 23:17:23 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.27 usin

linux怎么执行jar文件 怎么打可执行的jar包

Linux下执行jar文件方法:命令行下进入文件目录,执行java -jar file.jar即可,也可在桌面创建一个启动器,在命令栏填写相关的命令:java -jar /file路径/file.jar,这样在桌面双击即可打开该jar文件 创建可执行的 JAR 文件包详解:JAR 文件就是 Java Archive File,顾名思意,它的应用是与 Java 息息相关的,是 Java 的一种文档格式.JAR 文件非常类似 ZIP 文件--准确的说,它就是 ZIP 文件,所以叫它文件包.JAR 文

Java应用程序可执行jar文件与服务器交互中文乱码

生成可执行jar文件后,直接双击打开应用,发送Http请求带有中文时,服务器接收到的中文乱码! 解决方式: 1.在cmd命令中执行javaw命令打开jar可执行应用: 打开cmd命令框,输入: javaw -Dfile.encoding=utf-8 -jar D:/client-tool/mobile-client.jar 2.自己编写一个批处理文件打开jar可执行应用: 文件内容: start javaw -Dfile.encoding=utf-8 -jar D:/client-tool/mo

Hibernate使用MyExclipse10自动生成配置文件报错

使用MyExclipse10自动生成hibernate映射文件如下: 结果发现启动服务时报以下错误: 原因:因为hibernate换过项目地址,所以dtd文件的地址也换掉了.在hbm.xml文件里面把 http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd 换成 http://www.jboss.org/dtd/hibernate/hibernate-mapping-3.0.dtd 问题就解决了. Hibernate使用MyExc

maven 构建可执行jar文件

第一部分:认识jar中的MANIFEST.MF文件 一.MANIFEST.MF文件的基本配置信息: 1.一般属性: Manifest-Version:定义manifest文件的版本 Created-By:定义该文件的生成者,一般是由jar命令行工具生成 Signature-Version:定义jar文件的签名版本(关于jar文件的签名以后详谈) Class-Path:(具体作用在下面讲) 2.应用程序相关属性: Main-Class:定义jar文件的入口类(该类必须是一个可执行的类):定义该属性