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