spoon.compiler.ModelBuildingException: The type $ is already defined

GitHub | rajithd-aurea | 7 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

    Uses all configured source folders in the pom.xml

    GitHub | 2 years ago | victornoel
    org.apache.maven.plugin.MojoExecutionException: Exception during the spoonify of the target project.
  2. 0

    Failed when generate RAML from my Jaxrs codes

    GitHub | 10 months ago | hantsy
    spoon.compiler.ModelBuildingException: The method getId() is undefined for the type PostDetail at E:\hantsylabs\angularjs-ee7-sample\sample\blog-api\src\main\java\com\hantsylab\example\ee7\blog\api\PostResource.java:62
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Failed when generate RAML from my Jaxrs codes

    GitHub | 10 months ago | hantsy
    spoon.compiler.ModelBuildingException: The method getId() is undefined for the type PostDetail at E:\hantsylabs\angularjs-ee7-sample\sample\blog-api\src\main\java\com\hantsylab\example\ee7\blog\api\PostResource.java:62
  5. 0

    Duplicate methods named spliterator

    GitHub | 3 years ago | seintur
    spoon.compiler.ModelBuildingException: Duplicate methods named spliterator with the parameters () and () are inherited from the types Set<Map.Entry<K,V>> and Collection<Map.Entry<K,V>> at /Users/seinturi/share/git/spoon/src/test/java/spoon/test/generics/BugCollection.java:35

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. spoon.compiler.ModelBuildingException

      The type $ is already defined

      at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.reportProblem()
    2. spoon.support.compiler
      JDTBasedSpoonCompiler.build
      1. spoon.support.compiler.jdt.JDTBasedSpoonCompiler.reportProblem(JDTBasedSpoonCompiler.java:391)
      2. spoon.support.compiler.jdt.TreeBuilderRequestor.acceptResult(TreeBuilderRequestor.java:21)
      3. spoon.support.compiler.jdt.TreeBuilderCompiler.buildUnits(TreeBuilderCompiler.java:56)
      4. spoon.support.compiler.jdt.JDTBatchCompiler.getUnits(JDTBatchCompiler.java:121)
      5. spoon.support.compiler.jdt.JDTBasedSpoonCompiler.buildSources(JDTBasedSpoonCompiler.java:222)
      6. spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:480)
      6 frames
    3. spoon
      Launcher.run
      1. spoon.Launcher.buildModel(Launcher.java:664)
      2. spoon.Launcher.run(Launcher.java:616)
      2 frames
    4. com.devfactory.runner
      WeakTestRunner.main
      1. com.devfactory.runner.SpoonClassLoader.load(SpoonClassLoader.java:24)
      2. com.devfactory.runner.WeakTestRunner.main(WeakTestRunner.java:164)
      2 frames