2K Star 10.4K Fork 4.1K

GVPkeking / kkFileView

 / 详情

kkFileView-4.0.0.tar.gz使用./startup.sh启动报错找不到office组件

Backlog
Opened this issue  
2021-09-17 16:36

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

Comments (7)

giteewen1 created任务
giteewen1 set related repository to keking/kkFileView
Expand operation logs

我也遇到了同样的问题 ,楼主解决了吗

请问解决了吗

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 上面不是写了

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(5)
1618899 toty dkx 1578956083 24543 dk 88 1578915549
Java
1
https://gitee.com/kekingcn/file-online-preview.git
git@gitee.com:kekingcn/file-online-preview.git
kekingcn
file-online-preview
kkFileView

Search

141041 ab9339c7 1850385 141043 25c028d5 1850385