java.lang.RuntimeException: builtin library initialization failed: java.lang.NoClassDefFoundError: com/google/inject/Module

kotlinlang.org | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting a dev environment setup for working on kotlin/libraries - Kotlin Discussions

    kotlinlang.org | 8 months ago
    java.lang.RuntimeException: builtin library initialization failed: java.lang.NoClassDefFoundError: com/google/inject/Module

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com/google/inject/Module

      at org.jetbrains.jet.lang.resolve.TopDownAnalysisContext.<init>()
    2. org.jetbrains.jet
      JetStandardLibrary.initialize
      1. org.jetbrains.jet.lang.resolve.TopDownAnalysisContext.<init>(TopDownAnalysisContext.java:90)
      2. org.jetbrains.jet.lang.resolve.TopDownAnalyzer.processStandardLibraryNamespace(TopDownAnalyzer.java:156)
      3. org.jetbrains.jet.lang.types.lang.JetStandardLibrary.<init>(JetStandardLibrary.java:144)
      4. org.jetbrains.jet.lang.types.lang.JetStandardLibrary.initialize(JetStandardLibrary.java:72)
      4 frames
    3. JetBrains jet
      KotlinCompiler.exec
      1. org.jetbrains.jet.compiler.JetCoreEnvironment.<init>(JetCoreEnvironment.java:60)
      2. org.jetbrains.jet.compiler.CompileEnvironment.<init>(CompileEnvironment.java:77)
      3. org.jetbrains.jet.cli.KotlinCompiler.exec(KotlinCompiler.java:85)
      3 frames
    4. org.jetbrains.kotlin
      GenerateSiteTest.testGenerateStdlibKDoc
      1. org.jetbrains.kotlin.site.GenerateSiteTest.testGenerateStdlibKDoc(GenerateSiteTest.kt:35)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. JUnit
      JUnit38ClassRunner.run
      1. junit.framework.TestCase.runTest(TestCase.java:168)
      2. junit.framework.TestCase.runBare(TestCase.java:134)
      3. junit.framework.TestResult$1.protect(TestResult.java:110)
      4. junit.framework.TestResult.runProtected(TestResult.java:128)
      5. junit.framework.TestResult.run(TestResult.java:113)
      6. junit.framework.TestCase.run(TestCase.java:124)
      7. junit.framework.TestSuite.runTest(TestSuite.java:243)
      8. junit.framework.TestSuite.run(TestSuite.java:238)
      9. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
      9 frames
    7. JUnit4 Provider
      JUnit4TestSet.execute
      1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
      1 frame
    8. SureFire
      Surefire.run
      1. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
      2. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
      3. org.apache.maven.surefire.Surefire.run(Surefire.java:180)
      3 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. SureFire
      SurefireBooter.main
      1. org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
      2. org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
      2 frames