You may want to check your project dependencies to make sure you have the
osgi annotations artifacts that correspond to the r6 or later versions of
the OSGi specifications. The earlier versions of the specification stated
that the @Reference annotation was only allowed on the bind method, so a
What that sounds like is that the version of the annotations bundle that is
being resolved is the the older one where Reference was only applicable to a
method and not a Field.
Is this occurring in your branch?
- Jason
On Tue, Jul 24, 2018, at 2:52 PM, Hasini Witharana wrote:
> Hi all,
>
>
Hi all,
I am trying to get the service Authenticator in
"org.apache.sling.api.auth.Authenticator" inside a service class using "
org.osgi.service.component.annotations.Reference" annotation.
But I am getting an error saying @Reference not applicable to field. How to
solve this?
Thank You.
On
Hi,
This is the initial release of the Sling Resource Filter
Staging repository:
https://repository.apache.org/content/repositories/orgapachesling- 1923/
You can use this UNIX script to download the release and verify the signatures:
[
https://issues.apache.org/jira/browse/SLING-7768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16554535#comment-16554535
]
Andreas Schaefer commented on SLING-7768:
-
I uploaded a POC to the Sling Git Repo with branch: