Ошибка allodalargumentException при попытке подключиться к Linux libreOffice с Java bootstrapSocketConnectorLinux

Ответить
Anonymous
 Ошибка allodalargumentException при попытке подключиться к Linux libreOffice с Java bootstrapSocketConnector

Сообщение Anonymous »

Я использую DocumentConverter DocumentConverter Crass LibreOffice для преобразования .odt в .pdf. < /p>
в местном ) Это дает мне ошибку при попытке подключиться к исполняемому файлу LibreOffice Linux (LibreOffice -Oversion LibreOffice 7.0.4.2 00 (сборка: 2)). < /P>
//i also try with /usr/lib/libreoffice/program/soffice
String rutaLibreOffice = "/usr/lib/libreoffice/program";

XComponentContext xContext = BootstrapSocketConnector.bootstrap(rutaLibreOffice);

Ошибка:
com.sun.star.lang.illegalargumentException> Библиотека BootStrapSockEcketConnector https://mvnrepository.com/artifact/org. ... ctor/0.1.1
my build.gradle:
// https://mvnrepository.com/artifact/org. ... ibreoffice
compile 'org.libreoffice:jurt:5.4.2'

// https://mvnrepository.com/artifact/org. ... fice/unoil
compile 'org.libreoffice:unoil:5.4.2'

// https://mvnrepository.com/artifact/org. ... fice/unoil
compile 'org.libreoffice:ridl:5.4.2'

// https://mvnrepository.com/artifact/org. ... ibreoffice
compile 'org.libreoffice:juh:5.4.2'

// https://mvnrepository.com/artifact/org. ... -connector
compile 'org.openoffice:bootstrap-connector:0.1.1'


Подробнее здесь: https://stackoverflow.com/questions/794 ... e-with-jav
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Linux»