My RCP plugin refuse to load
<p>i'm making a little Eclipse plugin. When i launch it inside the eclipse RCP, all works fine. But when i export it as feature and install it on a standard Eclipse i get this error : </p>

<blockquote>
  <p>Plug-in foo.bar was unable to load class
  foo.bar.Editor.</p>
</blockquote>

<p>I have searched into the generated feature and plugin jar and the Editor.class is inside bin/foo/bar/Editor.class.</p>

<p>So what is the problem? </p>

<p>This is my plugin build.properties : </p>

<pre><code>bin.includes = META-INF/,\
               plugin.xml,\
               icons/,\
               bin/info/
jars.compile.order = cucumber-core-1.2.4.jar,\
                     cucumber-html-0.2.3.jar,\
                     cucumber-java-1.2.4.jar,\
                     cucumber-junit-1.2.4.jar,\
                     cucumber-jvm-deps-1.0.5.jar,\
                     gherkin-2.12.2.jar
src.includes = src/,\
               icons/,\
               plugin.xml,\
               META-INF/,\
               .project,\
               .classpath,\
               .settings/,\
               build.properties
</code></pre>

<p>This is my MANIFEST.MF</p>

<pre><code>Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Cucumber
Bundle-SymbolicName: foo.bar.cucumber;singleton:=true
Bundle-Version: 2.0.0.Final
Bundle-Activator: foo.bar.cucumber.Activator
Require-Bundle: org.eclipse.ui,
 org.eclipse.core.runtime,
 org.eclipse.jface.text;bundle-version="3.9.2",
 org.eclipse.ui.editors;bundle-version="3.8.200",
 org.eclipse.swt,
 org.eclipse.text,
 org.eclipse.osgi,
 org.eclipse.equinox.registry,
 org.eclipse.jdt.core,
 org.eclipse.core.resources,
 Cucumber;bundle-version="1.0.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-ActivationPolicy: lazy
Import-Package: cucumber.api.java.fr,
 org.eclipse.ui.texteditor,
 org.eclipse.ui.texteditor.templates
Export-Package: foo.bar.cucumber,
 foo.bar.cucumber.contentAssist,
 foo.bar.cucumber.synthaxColoring
</code></pre>

<p>My plugin.xml</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;?eclipse version="3.4"?&gt;
&lt;plugin&gt;
   &lt;extension
         point="org.eclipse.ui.editors"&gt;
      &lt;editor
            class="foo.bar.cucumber.Editor"
            default="false"
            extensions="feature"
            icon="icons/cukes.gif"
            id="foo.bar.cucumber.editor"
            name="Cucumber editor"&gt;
      &lt;/editor&gt;
   &lt;/extension&gt;
   &lt;extension
         point="org.eclipse.ui.editors.templates"&gt;
      &lt;contextType
            class="org.eclipse.jface.text.templates.TemplateContextType"
            id="foo.bar.cucumber.contentAssist.template.contextType"
            name="Default Context Type"&gt;
      &lt;/contextType&gt;
      &lt;template
            autoinsert="true"
            contextTypeId="foo.bar.cucumber.contentAssist.template.contextType"
            description="Template d&amp;apos;une fonctionnalité"
            icon="icons/cukes.gif"
            id="foo.bar.cucumber.contentAssist.template.feature"
            name="Fonctionnalité"&gt;
         &lt;pattern&gt;
            #language:fr
Fonctionnalité : ${description_de_la_fonctionnalité}

    Scénario : ${description_du_scénario}
        Soit 
        Et
        Alors
         &lt;/pattern&gt;
      &lt;/template&gt;
      &lt;template
            autoinsert="true"
            contextTypeId="foo.bar.cucumber.contentAssist.template.contextType"
            description="Template d&amp;apos;un scénario"
            icon="icons/cukes.gif"
            id="foo.bar.cucumber.contentAssist.template.scenario"
            name="Scénario"&gt;
         &lt;pattern&gt;
            Scénario : ${description_du_scénario}
        Soit 
        Et
        Alors
         &lt;/pattern&gt;
      &lt;/template&gt;
   &lt;/extension&gt;

&lt;/plugin&gt;
</code></pre>