每次启动 Liferay 时,我都会得到:
Running validation because of mismatched checksum for liferay-target-platform
LPKG validation time 01:59s
如何避免每次重新启动时都浪费这 2 分钟?
带有时间戳和绒毛的完整消息:
03:33:43,463 INFO [Start Level: Equinox Container: e0662c6f-3135-0017-1c4b-98e88b99c01c][LPKGIndexValidator:159] Running validation because of mismatched checksum for liferay-target-platform
03:35:40,202 INFO [Start Level: Equinox Container: e0662c6f-3135-0017-1c4b-98e88b99c01c][LPKGIndexValidator:266] LPKG validation time 01:59s
最佳答案
请查看the Liferay blog.为了避免验证,您可以尝试设置
module.framework.properties.lpkg.index.validator.enabled=false
在您的portal-ext.properties
文件中。但是,正如博文中提到的,不建议在生产环境中这样做。
关于liferay - 由于 liferay-target-platform 的校验和不匹配而运行验证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43883221/