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
Could not resolve module when deploying a WAR (Liferay DXP 7.1)
Hi,
We have a WAR app that deploys just fine in 7.0. However, we get this error when deploying to 7.1:
2022-01-21 21:50:45.724 ERROR [fileinstall-/opt/liferay-home/osgi/war][LogService:93] Error while starting bundle: webbundle:/opt/liferay-home/osgi/war/liferay-integration-portlet.war?Bundle-SymbolicName=liferay-integration-portlet&Web-ContextPath=/liferay-integration-portlet&protocol=file
After that is a list of a lot of unresolved requirements. I'm not sure where to start for debugging this. I've tried setting the Import-Package property to this in the liferay-plugin-package.properties file, but that didn't help:
Import-Package=*;resolution:=optional