<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    can you please specify, what you mean by "trying to execute the
    connector"?<br>
    <br>
    Where did you put the connector JAR file for midPoint?<br>
    <br>
    Thanks,<br>
    regards<br>
    Ivan<br>
    <br>
    <div class="moz-cite-prefix">On 11/21/2013 12:26 PM, dev.eloper
      wrote:<br>
    </div>
    <blockquote cite="mid:46fd1184.3f3d7c0d.528dedda.c3577@o2.pl"
      type="cite">Hi everyone,<br>
      <br>
      I'm trying to add a custom ICF connector, generated with the Maven
      archetype. However, when I'm trying to execute the connector, I'm
      getting the following error in the UI:<br>
      <br>
      ===<br>
      <span>Error resolving connector reference in <a class="moz-txt-link-freetext" href="resource:xxx">resource:xxx</a> (My
        Sample): Error creating connector instace: The classes (JAR) of
        connector: My Sample (OID:xxx) were not found by the ICF
        framework; connector type=org.forgerock.openicf.xxx, version=yyy</span><br>
      ===<br>
      <br>
      Eventually, I drilled down to the code that might be causing a
      problem:<br>
      <br>
      ===
      org.identityconnectors.framework.impl.api.local.LocalConnectorInfoManagerImpl
      in
org/forgerock/openicf/framework/connector-framework-internal-1.1.1.e6329.jar:<br>
      249:   options =
      connectorClass.getAnnotation(ConnectorClass.class);<br>
      <br>
      This line returns null. But I checked that calling
      connectorClass.getAnnotations() will return a single annotation:
      com.sun.proxy.$Proxy182, which proxies the original annotation,
      instead of hte actual ConnectorClass annotation.<br>
      <br>
      Has anyone seen this problem before? What might it be related to?
      And, how could I fix this issue?<br>
      <br>
      Thank you.
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
  Ing. Ivan Noris
  Consultant
  Evolveum, s.r.o
  ___________________________________________________
  "Semper cautus - semper paratus - semper idem Vix."
</pre>
  </body>
</html>