Can you try adding AttributeType to @AttributeDefinitionsudo code : @AttributeDefinition( name = "String Property", description = "Sample String property", type = AttributeType.STRING ) String servicename_propertyname_string() default "foo";import org.osgi.service.metatype...