You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Clement Escoffier (JIRA)" <ji...@apache.org> on 2014/01/15 14:35:19 UTC

[jira] [Commented] (FELIX-4380) Give a Class to the specification field of @Bind fail on instantiation

    [ https://issues.apache.org/jira/browse/FELIX-4380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872061#comment-13872061 ] 

Clement Escoffier commented on FELIX-4380:
------------------------------------------

It looks like the specification is not imported. Could you check that the bundle imports "org.my.package" (which is probably not the right one as 'package' is a keyword) ?

When the service interface is accessible, then it works smoothly.

> Give a Class to the specification field of @Bind fail on instantiation
> ----------------------------------------------------------------------
>
>                 Key: FELIX-4380
>                 URL: https://issues.apache.org/jira/browse/FELIX-4380
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: ipojo-runtime-1.11.0
>            Reporter: Morgan Martinet
>            Assignee: Clement Escoffier
>            Priority: Minor
>
> Bind(specification = MyRequiredInterface.class) fail on instance creation with the error :
> [ERROR] MyFactory : A required specification cannot be loaded : Lorg/my/package/MyRequiredInterface;



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)