In my module, in my base Application class
component = DaggerCompClassComponent.builder() .classModule(new ModuleClass()).build();
If Dagger2 can not generate its components it means that your code have some errors with Scopes/Modules. Check our your @Provides/Inject methods.
UPD:
You should inject your components into cases where you need instances of classes provided by module.
like
inject(MainActivity main);