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.liferay.portal.kernel.messagin
Hi,
I am devlopeing the scheduler concept and getting Unresolved requirement: Import-Package: com.liferay.portal.kernel.messaging; version="[8.0.0,9.0.0) error.
Here used below dependencies.
compileOnly group: "com.liferay.portal", name:
"com.liferay.portal.kernel", version:
"3.0.0"
compileOnly group:
"com.liferay.portal", name:
"com.liferay.util.taglib", version: "2.0.0"
compileOnly group: "javax.portlet", name:
"portlet-api", version: "2.0"
compileOnly group: "javax.servlet", name:
"javax.servlet-api", version: "3.0.1"
compileOnly group: "jstl", name: "jstl", version:
"1.2"
compileOnly group: "org.osgi",
name: "osgi.cmpn", version: "6.0.0"
i am using liferay-ce-portal-7.0-ga5. If i will user compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.6.0" then it's deploying but if i will use 2.6.0 then SchedulerEntry schedulerEntry = new SchedulerEntryImpl(jobName, trigger); here getting error because in 2.6.0 there is no constructure with two parameters.
Hi,
Any solution for above issue?
Narendra,
In 7.0 CE GA5 it will support only 2.4.6 version. devloped in different way with depricated methods.
Powered by Liferay™