使用java 调用openoffice 报如下错误:
OpenOfficeException: could not obtain service: com.sun.star.ucb.FileContentProvider
本在spring 这样的配置:
<bean id="openOfficeConnection" class="com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection" destroy-method="disconnect">
<constructor-arg>
<value>8100</value>
</constructor-arg>
</bean>
而程序:
connection = new SocketOpenOfficeConnection("192.168.120.130",8100); 这样就可以调用,根据这个的提示,最后把spring 里的配置改为
<bean id="openOfficeConnection" class="com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection" destroy-method="disconnect">
<constructor-arg index="0">
<value>192.168.120.130</value>
</constructor-arg>
<constructor-arg index="1">
<value>8100</value>
</constructor-arg>
</bean>
就可以解决上述问题。
分享到:
相关推荐
you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
报错 org.apache.hadoop.hdfs.BlockMissingException: Could not obtain block 2、百度结果 参考 https://blog.csdn.net/xiaozhaoshigedasb/article/details/88999595 防火墙记得关掉; 查看DataNode是否启动;...
Fundamentals of Electroceramics:Materials, Devices, and Applications Fundamentals of Electroceramics:Materials, Devices, and Applications....this book may not be available in other formats 本主题由 j
4. **合并与解决冲突**:Repo 可以帮助协调不同子仓库间的合并,通过 `repo sync -jN` (N 为并行处理的任务数) 可以并行地更新和合并多个仓库,提高效率。 5. **分支管理**:Repo 支持列出、切换和管理各个子仓库的...
Obtain Development Acceptance. . . . . . . . . . . . . . . . . . . . 18 Step 4. Plan for Implementation of the SQA Plan . . . . . . . . . . . . . 19 Step 5. Execute the SQA Plan. . . . . . . . ...
Hadoop常见问题及解决办法汇总 Hadoop是一个基于Apache的开源大数据处理框架,广泛应用于大数据处理、数据分析和机器学习等领域。然而,在使用Hadoop时,经常会遇到一些常见的问题,这些问题可能会导致Hadoop集群...
NBADataBinding Screenshot NBADataBinding 依赖的官方支持包 ...you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apa
2. svn: OPTIONS of 'http://svn.moon.ossxp.com/svn/test': authorization failed: Could not authenticate to server: rejected Basic challenge(http://svn.moon.ossxp.com) 该错误提示的原因是口令输入错误。...
you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
综上所述,HugeGraph是一个全面的图数据库解决方案,涵盖了从数据建模到查询分析的全过程。它的分布式架构、灵活的后端存储选择以及丰富的API和查询语言,使其在处理大规模复杂数据时表现出色,成为Java开发和分布式...
Then the configuration file. I need to remember you that you need to change the DEVELOPER_TOKEN constant with the one you will obtain from Amazon. The current license key belongs to me. ...
Resource stopwords not found. Please use the NLTK Downloader to obtain the resource: import nltk >>> nltk.download('stopwords') For more information see: https://www.nltk.org/data.html Attempted...
> * 1.The project does not use any image resources, colors of bottle and water can be changed by custom attributes; > * 2.LoadingView will automatically adjust the width and height; 2 How to Use: ...
解决方法: 确保在build.gradle文件中设置了applicationId “com.example.myapp”; android { … defaultConfig { applicationId “com.example.myapp” minSdkVersion 19 targetSdkVersion 28 version
在 Ubuntu 上 Android Studio 中启动 Emulator闪退的解决方法 在 Android Studio 中点击模拟器的启动按钮后,模拟器界面弹出后,又立刻闪退。这是非常常见的问题,本文将为大家分享 Ubuntu 上在 Android Studio 中...
安卓系统 玩Android客户端 项目简介 ...you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Router > Android 平台路由框架 ...you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unles
Message message = Message.obtain(); message.what = 1; Bundle data = new Bundle(); data.putBoolean("isCancel", isCancel); data.putBoolean("isCompleted", isCompleted); data.putInt("fileSize...
* you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
调色板展示android.support.v7.graphics.Palette示例应用程序。 解决大位图等问题,并使用库进行系统栏...you may not use this file except in compliance with the License.You may obtain a copy of the License at ...