title: ClassNotFoundException: com.google.inject.Module
body: <p>I've never ran into this problem, so I really don't know how to fix this...</p>
  
  <p>This is my build.gradle file if needed:</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
          jcenter()
      }
  
      dependencies {
          classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
      }
  }
  
  group 'my.project'
  version '1.0-SNAPSHOT'
  
  apply plugin: 'java'
  apply plugin: 'idea'
  apply plugin: 'eclipse'
  apply plugin: 'com.github.johnrengelman.shadow'
  
  repositories {
      mavenCentral()
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.google.inject:guice:4.1.0'
      compile 'org.projectlombok:lombok:1.16.8'
  }
  
  if (org.gradle.api.JavaVersion.current().isJava8Compatible()) {
      tasks.withType(org.gradle.api.tasks.javadoc.Javadoc) {
          options.addStringOption('Xdoclint:none', '-quiet')
      }
  }
  
  artifacts {
      archives jar
  }
  
  task sourcesJar(type: org.gradle.api.tasks.bundling.Jar, dependsOn: classes)
  {
      classifier = 'sources'
      from sourceSets.main.allSource
  }
  
  artifacts {
      archives sourcesJar
  }
  
  build.dependsOn(sourcesJar)
  
  
  shadowJar {
      classifier 'dist'
  
      exclude 'GradleStart**'
      exclude '.cache'
      exclude 'LICENSE*'
  }
  </code></pre>
  
  <p>Some of the things I've tried while researching this problem are:</p>
  
  <ul>
  <li>Using the no_aop version of Guice.</li>
  <li>Adding JSR 330 as a dependency.</li>
  <li>Adding javax.inject to the classpath.</li>
  </ul>
  
  <p>None of these things worked...</p>
  
  <p><strong>EDIT:</strong> I still haven't found a way to fix this. At first I thought it was the new JRE update. It did change my environment variables, and I fixed them but that didn't work either. If someone could help me out with this, I would really appreciate it. </p>