title: Eclipse - Google Guice
body: <p>I have been trying to use Google Guice in eclipse plug-in development. I have imported Guice jar as another plug-in project. But somehow Guice is unable to inject dependency.</p>
  
  <p>Any ideas???</p>
  
  <p>This is the error message</p>
  
  <pre><code>com.google.inject.ConfigurationException: Guice configuration errors:
  
  1) No implementation for java.util.List&lt;java.lang.String&gt; was bound.
    while locating java.util.List&lt;java.lang.String&gt;
      for parameter 1 at com.checker.extension.provider.util.PluginUtils.&lt;init&gt;(Unknown Source)
    while locating com.checker.extension.provider.util.PluginUtils
  
  1 error
  </code></pre>
  
  <p><strong>EDIT1</strong></p>
  
  <p>One thing which I would like to mention is the configuration works correctly when I use <strong>normal Java application</strong> but it don't when I use <strong>plug-in project</strong></p>
  
  <p><strong>EDIT2</strong>
  Below is the code which I am using </p>
  
  <pre><code>@Override
      protected void configure() {
  
          bind(List.class).toInstance(DIObjects.buildFolderNames);
      }
  </code></pre>
  
  <p>Here <code>DIObjects.buildFolderNames</code> is the static field which I need to inject. 
  Defination of DIObjects.buildFolderNames is as follows.</p>
  
  <pre><code>public static List&lt;String&gt; buildFolderNames;
  </code></pre>
  
  <p>and I have initialized this field.</p>
  
  <p>Is the problem is because of different classloaders of eclipse and Guice ???</p>