In service manifest.mf all the packages has been in export-packages.
In UI manifest file the same packages has been updated in import-packages.
But the service layer doesn't have com.xxx.service the error in logs is as below:
failed. org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: Unable to satisfy dependencies of bundle 'com.xxx.xxx-ui' at version '1.0.0': Cannot resolve: com.xxx.xxx-ui Resolver report: An Import-Package could not be resolved. Resolver error data <Import-Package: com.xxx.service; version="1.0.0">. Caused by missing constraint in bundle <com.xxx.xxx-ui_1.0.0> constraint: <Import-Package: com.xxx.service; version="1.0.0">