Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Service Builder ->Unable to deploy the service jar into active state
I am unable to deploy the service jar into active state .I used a 6.2 version maven based service builder and upgrade it to 7.1.0 maven plugin type.I have attache the upgraded artefact
Attachments:
Rajesh Chaurasia:
I don't know what you did to upgrade, but you didn't properly upgrade a service-builder project: Did you use the upgrade wizard in DeveloperStudio/IDE/Eclipse?
I am unable to deploy the service jar into active state .I used a 6.2 version maven based service builder and upgrade it to 7.1.0 maven plugin type.I have attache the upgraded artefact
A 7.x ServiceBuilder project consists of an -api and a -service project and won't have any more *Clp classes, these are the items that I see in your zip file (missing api, CLP classes) that point to in improper upgrade.
Recommendation: Upgrade with the wizard.
I used the LDS (https://sourceforge.net/projects/lportal/files/Liferay%20IDE/3.4.0/LiferayProjectSDKwithDevStudioCommunityEdition-2018.11.4-windows-installer.exe/download) Code upgrade tool on the maven based code style which targeted 7.1 at the maximum.The tool did many changes in code i imported and ran upgrade tool.So i thought it would have removed the files u mentioned or it wont?Parallely i tried the lift and shift , and it worked for me.
Rajesh Chaurasia:
Bummer - I'd have expected that the Upgrade Tool takes care of this. Maybe one of the steps wasn't executed? (or not executed correctly...)
I used the LDS (https://sourceforge.net/projects/lportal/files/Liferay%20IDE/3.4.0/LiferayProjectSDKwithDevStudioCommunityEdition-2018.11.4-windows-installer.exe/download) Code upgrade tool on the maven based code style which targeted 7.1 at the maximum.The tool did many changes in code i imported and ran upgrade tool.So i thought it would have removed the files u mentioned or it wont?Parallely i tried the lift and shift , and it worked for me.
Anyway - do I interpret your answer correctly that the problem is solved?
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™