title: Guice configuration errors:No implementation for xxx was bound
body: <p>My handler class:</p>
  
  <pre><code>public class Handler {
  
        private final IStore dataStore;
  
        @Inject
        @Singleton
        public Handler(IStore dataStore) {
            this.dataStore = dataStore;
        }
      }
  }
  </code></pre>
  
  <p>My interface class:</p>
  
  <pre><code>public interface IStore {}
  </code></pre>
  
  <p>My Impl class:</p>
  
  <pre><code>public class DataStoreImpl implements IStore {
    private final JooqTransacter transacter;
  
    @Inject
    public DataStoreImpl(@Named("XXX") JooqTransacter transacter) {
      this.transacter = transacter;
    }
  }
  </code></pre>
  
  <p>My module  class to bind:</p>
  
  <pre><code>public class StoreImplModule extends AbstractModule {
    @Override protected void configure() {
      bind(IStore.class).to(DataStoreImpl.class);
    }
  }
  </code></pre>
  
  <p>When I ran it, I keep getting this error:</p>
  
  <pre><code>com.google.inject.ConfigurationException: Guice configuration errors:
  
  1) No implementation for com.xx.store.IStore was bound.
    while locating xxx.IStore
      for the 1st parameter of Handler.&lt;init&gt;(Handler.java:99)
    while locating com.xx.handlers.Handler
  </code></pre>
  
  <p>Any insights would be greatly appreciated!</p>