Eclipse AEM Plugin and AEM 6.2 org.apache.sling.api.scripting.ScriptEvaluationException

Using a fresh install of Eclipse and the Adobe AEM Plugin with AEM 6.2 you will get the following exception when trying to install a bundle:

org.apache.sling.api.scripting.ScriptEvaluationException

From http://stackoverflow.com/questions/38474627/service-component-missing-in-aem add the following line to the pom.xml of the core project:

    <dependency>
       <groupId>javax.inject</groupId>
       <artifactId>javax.inject</artifactId>
       <version>1</version>
    </dependency>
comments powered by Disqus