I Have many dependencies on java and director service but none gets deployed. there are no packages imported as well.
<Import-Package>javax.inject;version=0.0.0,*</Import-Package>
<Sling-Model-Packages>
${project}.core
</Sling-Model-Packages>
Is this expected ?
Next step is to add your Java code to this project and see if that works without issue.
Hi,
As Scott stated, build this simple Maven 11 project and you wont see any issues.
Creating an Adobe Experience Manager 6.3 Project using Adobe Maven Archetype 11
Also, please try to include the dependencies properly like Uber Jar in parent as well as core pom.xml
~Ratna.
Views
Replies
Total Likes
Hi,
Is your issue resolved. If not, please let us know.
Thanks,
Ratna.
Views
Replies
Total Likes
Do you see anything in the logs? Please clear the logs; install the bundle again and check the logs.
Check the services in felix console under http://localhost:4502/system/console/services and make sure your services are reflecting properly
Views
Replies
Total Likes
Hi,
As i can see that people already responded same solution but still I am posting and just want you to verify that all these below stuff in you pom.xml as below.
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.3.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
</dependency>
<Import-Package>javax.inject;version=0.0.0,*;resolution:=optional,*</Import-Package>
Views
Replies
Total Likes
I created new project with maven archetype11 and added each dependencies one by one and then it worked. i haven't changed any java code.
Thanks smacdonald2008 it worked.