Fórum

[Liferay-DXP] Unresolved requirement: Import-Package: bsh

thumbnail
Kiran Yalavali, modificado 6 Anos atrás.

[Liferay-DXP] Unresolved requirement: Import-Package: bsh

Regular Member Postagens: 175 Data de Entrada: 15/10/14 Postagens Recentes
Hi all,

when i deployed this module(portlet) of Liferay 7 OSGI ce ga3 on command prompt it's throwing below error,

org.osgi.framework.BundleException: Could not resolve module: com.portlets [533]
"Unresolved requirement: Import-Package: bsh"

I'm not sure what is this issue here, can anybody help in resolving this issue.


thanks,
Kiran.
thumbnail
Kiran Yalavali, modificado 6 Anos atrás.

RE: [Liferay-DXP] Unresolved requirement: Import-Package: bsh

Regular Member Postagens: 175 Data de Entrada: 15/10/14 Postagens Recentes
Hi David,
thank you for reply,
I'm searching lot of sites but there is no related this jar so which jar file add on build.gradle and bnd.bnd files because of below error
org.osgi.framework.BundleException: Could not resolve module: com.portlets [533]
Unresolved requirement: Import-Package: com.swabunga.spell.engine


Thanks,
kiran
thumbnail
David H Nebinger, modificado 6 Anos atrás.

RE: [Liferay-DXP] Unresolved requirement: Import-Package: bsh

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
So first I google for "swabunga" as it is pretty unique.

That leads to https://github.com/reckart/jazzy/tree/master/src/com/swabunga, so clearly the project is from jazzy.

Since I know the project is jazzy, now I can do a mvnrepo search: http://mvnrepository.com/search?q=jazzy.

And there you find your dependency.

Alternatively, you start with your dependencies and use mvnrepo search to find the artifact. On the version page you're using, you can see all of the links to the dependencies for the project you're looking at. From there, it's just like maven resolution, you follow the trails from link to link finding all of the dependencies and transitive dependencies.