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
Unresolved requirement: Import-Package: com.apple.mrj
I am getting the above error when i am trying to start my portlet through gogo shell.
But i am not able to find this jar MRJToolkitStubs does not satisfy the dependency.
Attachments:
Ann james:I am getting the above error when i am trying to start my portlet through gogo shell.
Are you migrating a 6.2 plugin to the newer release? If so, and none
of those libraries were in your .war, and your .war was working fine,
that probably means you don't need any of the missing packages, and
you could just mark everything that's not already being pulled in with
compileInclude as being optional by adding the following
to your bnd.bnd:
Import-Package: *;resolution:=optional
If this isn't a migration of an older plugin, and you really do need
that artifact, are you sure that the repository you've specified has a
copy of mrj:MRJToolkitStubs:1.0? If not, you'll need to
also add something like Maven Central to make sure you're able to
download that artifact.
Thank you its working now.