문제

I've installed document-viewer on Plone. When I upoad a document I receive this error:

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)

My openoffice installation is in /opt/openoffice4 I'm using docsplit v 0.6.4

how can I solve this?

도움이 되었습니까?

해결책

As I've read on JODConverter configuration here,

"/opt/openoffice.org3"
"/opt/libreoffice"
"/usr/lib/openoffice"
"/usr/lib/libreoffice" 

so, I've created a symbolic link:

ln -s <path OpenOffice installation> <path required>

solved.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top