简体   繁体   English

在Liferay服务器上部署Maven项目时遇到问题

[英]Facing issue while deploying maven project over liferay server

While deployment of maven liferay project on server I am getting this error: 在服务器上部署Maven Liferay项目时,出现此错误:

08:56:46,766 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeploer:975] Not updating nok.win.loc.gw.form.portlet because version 6.2.3 is newer than version 1.0.0-SNAPSHOT 08:56:46,766信息[com.liferay.portal.kernel.deploy.auto.AutoDeployScanner] [BaseDeploer:975]不更新nok.win.loc.gw.form.portlet,因为6.2.3版比1.0版新。 0快照

Check the version in your WEB-INF/liferay-plugin-package.xml , WEB-INF/liferay-plugin-package.properties or /META-INF/MANIFEST.MF . 检查WEB-INF/liferay-plugin-package.xmlWEB-INF/liferay-plugin-package.properties/META-INF/MANIFEST.MF It seems that it is set to 1.0.0-SNAPSHOT now, but it was set to 6.2.3 before. 似乎现在已将其设置为1.0.0-SNAPSHOT ,但之前已将其设置为6.2.3

I would guess that you have deleted the first two files ( liferay-plugin-package ), thats why it is read from /META-INF/MANIFEST.MF now - which in a Maven Build usually contains the POM version. 我猜想您已经删除了前两个文件( liferay-plugin-package ),这就是为什么现在从/META-INF/MANIFEST.MF读取它的原因-在Maven Build中通常包含POM版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM