由于liferay-target-platform的校验和不匹配而运行验证

Nic*_*oul 3 liferay

每次我开始Liferay,我得到:

Running validation because of mismatched checksum for liferay-target-platform
LPKG validation time 01:59s
Run Code Online (Sandbox Code Playgroud)

每次重新启动时,如何避免浪费这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
Run Code Online (Sandbox Code Playgroud)

相关的Liferay源代码:LPKGIndexValidator.java

小智 8

请查看Liferay博客.为避免验证,您可以尝试设置

module.framework.properties.lpkg.index.validator.enabled=false
Run Code Online (Sandbox Code Playgroud)

在你的portal-ext.properties文件中.但是,正如博客文章中所提到的,不建议在生产环境中使用.