2.8K Star 20.6K Fork 8.1K

GVPkeking / kkFileView

 / 详情

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

待办的
创建于  
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

评论 (14)

giteewen1 创建了任务
giteewen1 关联仓库设置为keking/kkFileView
展开全部操作日志

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

请问解决了吗

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

大佬牛逼 :+1:

流弊,解决了

执行完(/tmp/LibreOffice_7.1.4.2_Linux_x86-64_rpm/RPMS目录执行命令 yum localinstall *.rpm)后,用啥命令重启?或者能否告知下您是用如何解决的?

我的是liunx服务器上启动时报这个错,然后参考了链接文章后装了就可以了。https://blog.csdn.net/weixin_43128854/article/details/128236814

/tmp/目录下没有这个文件夹呢?有一个名字类似的压缩包,解压还报错

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(12)
1618899 toty dkx 1578956083 24543 dk 88 1578915549 1366776 jiangjiedev 1578949883 5103849 yzc9 1640945280
Java
1
https://gitee.com/kekingcn/file-online-preview.git
git@gitee.com:kekingcn/file-online-preview.git
kekingcn
file-online-preview
kkFileView

搜索帮助