Statement: javax.inject,version=[0.0,1) — Cannot be resolved
Environment Details :
- JRE 1.8
- Eclipse oxyzen 3a IDE
- AEM 6.2
Solution :
- add below dependency to POM file of core project as shown below and issue will get fix!.
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
- Build the core project once again, follow the below steps shown in below screenshot.
- Refresh the /System/console to check the status of sampleproject bundle to active state as shown below
No comments:
Post a Comment