We are trying to deploy our code onto AEM 6.2 version and added dependency for below classes but still getting compilation errors.
org.osgi.framework.Constants;
org.osgi.framework.ServiceReference;
Parent pom:
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.fragment.ws</artifactId>
<version>1.0.2</version>
<scope>provided</scope>
</dependency>
Core pom:
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.fragment.ws</artifactId>
</dependency>
Any idea on usage of this dependency??
attached error screenshot
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
during runtime these bundles are provided by the system bundle, but during compile time they are not available by default. Can you try with a scope of "compile"? What kind of project archetype have you used?
kind regards,
Jörg
Views
Replies
Total Likes
Hi,
during runtime these bundles are provided by the system bundle, but during compile time they are not available by default. Can you try with a scope of "compile"? What kind of project archetype have you used?
kind regards,
Jörg
Views
Replies
Total Likes