the error indicates that the class can't found. Either the code is not
deployed, or the bundle is not active.can you check at
/system/console/services whether the service is available?
here you see the source code, first it tries via request and then
resource:sling-org-apache-sling-scripting-sightly-models-provider/SlingModelsUseProvider.java
at master · apache/sling-org-apache…
see here an example: htl-examples/MyServiceConfiguration.java at master
· heervisscher/htl-examples · GitHub @AttributeDefinition(name =
"Multiple-Values", description = "Multi Configuration values")String[]
getStringValues();
Also you are mixing annotations (osgi and felix)import
org.osgi.service.component.annotations.Component;import
org.apache.felix.scr.annotations.Properties;import
org.apache.felix.scr.annotations.Property;