javax.inject,version=[0.0,1) — Cannot be resolved


Issue:  javax.inject,version=[0.0,1) — Cannot be resolved

Environment - AEM 6.2, Java 1.8 & Eclipse EE Oxyzen 3a, Archetype 10/9

Solution:

Add the below dependencies to core project POM file:


org.apache.sling 
org.apache.sling.models.api 
1.2.2 provided
 
org.apache.sling 
org.apache.sling.models.impl 
1.2.2 provided
 
org.apache.geronimo.specs 
geronimo-atinject_1.0_spec 
1.0 provided


  • Rebuild the core project and observe the bundle status in /System/console.




No comments:

Post a Comment