【问题标题】:jodconverter can't find officeHome, Using docsplit in centOS 5jodconverter 找不到 officeHome,在 centOS 5 中使用 docsplit
【发布时间】:2011-12-05 20:34:07
【问题描述】:

我正在尝试设置一个使用docsplit 进行文档转换的服务器。我正在设置它的机器正在运行 centOS 5。当我尝试从命令行进行基本转换时,我收到此错误消息。

Exception in thread "main" java.lang.IllegalStateException: officeHome doesn't exist  or is not a directory:
    at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:165)
    at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111)

我尝试在 java 中设置 office.home 系统属性,但这不起作用。由于我使用的是 docsplit,有什么方法可以手动告诉 jodconverter 办公室主目录是什么?

【问题讨论】:

    标签: java ruby openoffice.org jodconverter


    【解决方案1】:

    建立一个符号链接

    [root@sakura opt]# pwd
    /opt
    [root@sakura opt]# ln -s /opt/libreoffice3.4 libreoffice
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-08-06
      • 1970-01-01
      • 2016-04-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-15
      • 2017-10-27
      • 2015-11-08
      相关资源
      最近更新 更多