You need to have:
org.apache.sling.models.api.1-1.0.jar installed in the OSGI console, system/console/bundles. Before doing extensive troubleshooting, be sure this bundle is installed. The error might look something like this:
Failed installing bundle : Unable to install/update bundle from dir C:\Users : Unresolved constraint in bundle com.adobe.training.dc.core [393]: Unable to resolve 393.0: missing requirement [393.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.models.annotations)(version>=1.1.0)(!(version>=2.0.0)))
Unable to install/update bundle from dir C:\Users: Unresolved constraint in bundle com.adobe.training.dc.core [393]: Unable to resolve 393.0: missing requirement [393.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.sling.models.annotations)(version>=1.1.0)(!(version>=2.0.0)))
Solved! Go to Solution.
Views
Replies
Total Likes
Also, do not forget to delete the old bundle that wasn't working from system/console/bundles
Views
Replies
Total Likes
Also, do not forget to delete the old bundle that wasn't working from system/console/bundles
Views
Replies
Total Likes
what if you have WCMUSEPOJO working but not the sling models as sling models-->@postconstruct method not at all being called form the HTL component in AEM 6.3 .
Any clue ?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies
Views
Likes
Replies