Caused by: java.lang.RuntimeException: 找不到office组件,请确认'office.home'配置是否有误
at cn.keking.service.OfficePluginManager.startOfficeManager(OfficePluginManager.java:56) ~[classes!/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_201]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_201]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_201]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_201]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) ~[spring-beans-5.3.3.jar!/:5.3.3]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) ~[spring-beans-5.3.3.jar!/:5.3.3]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ~[spring-beans-5.3.3.jar!/:5.3.3]
... 54 common frames omitted
我也遇到了同样的问题 ,楼主解决了吗
4.0使用内置libreoffice,一直报错,也找不到随包下载的路径,于时单独安装了apache office 4.1.10版(不更新了),然后更改office.home=安装目录。然后启动就可以了,我是这样暂时先用着。
可以尝试到 /tmp/LibreOffice_7.1.4.2_Linux_x86-64_rpm/RPMS
目录执行命令 yum localinstall *.rpm
然后重启kkfileview
上面不是写了 就是去目录下/tmp/LibreOffice_7.1.4.2_Linux_x86-64_rpm/RPMS目录执行命令 yum localinstall *.rpm
然后重启kkfileview 上面不是写了
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
流弊,解决了
我的是liunx服务器上启动时报这个错,然后参考了链接文章后装了就可以了。https://blog.csdn.net/weixin_43128854/article/details/128236814
/tmp/目录下没有这个文件夹呢?有一个名字类似的压缩包,解压还报错
登录 后才可以发表评论