jodconverter找不到officeHome,在centOS 5中使用docsplit
我正在尝试设置一个使用 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 办公室主目录是什么?
I'm trying to set up a server that will do document conversions using docsplit. The machine I'm setting it up on is running centOS 5. When I try to do a basic conversion from the command line I get this error message.
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)
I've tried setting office.home system property in java but that doesn't work. Since I'm using docsplit is there any way I can manual tell jodconverter what the office home directory is?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
建立一个符号链接
make a symbolic link