Я использую 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
Ошибка allodalargumentException при попытке подключиться к Linux libreOffice с Java bootstrapSocketConnector ⇐ Linux
1739958061
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);
Ошибка:
[b]com.sun.star.lang.illegalargumentException[/b]> Библиотека BootStrapSockEcketConnector https://mvnrepository.com/artifact/org.openoffice/bootstrap-connector/0.1.1
my build.gradle:
// https://mvnrepository.com/artifact/org.libreoffice/libreoffice
compile 'org.libreoffice:jurt:5.4.2'
// https://mvnrepository.com/artifact/org.libreoffice/unoil
compile 'org.libreoffice:unoil:5.4.2'
// https://mvnrepository.com/artifact/org.libreoffice/unoil
compile 'org.libreoffice:ridl:5.4.2'
// https://mvnrepository.com/artifact/org.libreoffice/libreoffice
compile 'org.libreoffice:juh:5.4.2'
// https://mvnrepository.com/artifact/org.openoffice/bootstrap-connector
compile 'org.openoffice:bootstrap-connector:0.1.1'
Подробнее здесь: [url]https://stackoverflow.com/questions/79450820/illegalargumentexception-error-when-try-to-connect-to-linux-libreoffice-with-jav[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия