java.lang.RuntimeException: javax.lang.model.type.UnknownTypeException: Unknown type: java.lang.Object&java.io.Serializable&java.lang.Comparable<K>

Google Groups | Unknown author | 1 year ago
  1. 0

    Error while building Shopizer

    Google Groups | 1 year ago | Unknown author
    java.lang.RuntimeException: javax.lang.model.type.UnknownTypeException: Unknown type: java.lang.Object&java.io.Serializable&java.lang.Comparable<K>
  2. 0

    Error while building sm-core in eclipse. JVM is not suitable for processing annotation! ToolProvider.getSystemJavaCompiler() is null

    Google Groups | 2 years ago | kaivalya apte
    java.lang.RuntimeException: javax.lang.model.type.UnknownTypeException: Unknown type: java.lang.Object&java.io.Serializable&java.lang.Comparable<K>
  3. 0

    TypeNames.forTypeMirror intersection problem.

    GitHub | 2 years ago | JakeWharton
    javax.lang.model.type.UnknownTypeException: Unknown type: java.lang.Number&java.lang.Runnable
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Kapt2 build fails with Dagger2

    YouTrack | 2 months ago
    javax.lang.model.type.UnknownTypeException: Unknown type: <error>

    Root Cause Analysis

    1. javax.lang.model.type.UnknownTypeException

      Unknown type: java.lang.O bject&java.io.Serializable&java.lang.Comparable<K>

      at javax.lang.model.util.AbstractTypeVisitor6.visitUnknown()
    2. Java RT
      AbstractTypeVisitor6.visitIntersection
      1. javax.lang.model.util.AbstractTypeVisitor6.visitUnknown(AbstractTypeVisitor6.java:150)
      2. javax.lang.model.util.AbstractTypeVisitor6.visitIntersection(AbstractTypeVisitor6.java:133)
      2 frames
    3. Java Tools
      Type$IntersectionClassType.accept
      1. com.sun.tools.javac.code.Type$IntersectionClassType.accept(Type.java:1019)
      1 frame
    4. Java RT
      AbstractTypeVisitor6.visit
      1. javax.lang.model.util.AbstractTypeVisitor6.visit(AbstractTypeVisitor6.java:92)
      1 frame
    5. Querydsl - APT support
      ExtendedTypeFactory$2.visitTypeVariable
      1. com.mysema.query.apt.ExtendedTypeFactory$2.visitTypeVariable(ExtendedTypeFactory.java:250)
      2. com.mysema.query.apt.ExtendedTypeFactory$2.visitTypeVariable(ExtendedTypeFactory.java:199)
      2 frames
    6. Java Tools
      Type$TypeVar.accept
      1. com.sun.tools.javac.code.Type$TypeVar.accept(Type.java:1319)
      1 frame
    7. Java RT
      AbstractTypeVisitor6.visit
      1. javax.lang.model.util.AbstractTypeVisitor6.visit(AbstractTypeVisitor6.java:92)
      1 frame
    8. Querydsl - APT support
      ExtendedTypeFactory$2.visitDeclared
      1. com.mysema.query.apt.ExtendedTypeFactory$2.visitDeclared(ExtendedTypeFactory.java:233)
      2. com.mysema.query.apt.ExtendedTypeFactory$2.visitDeclared(ExtendedTypeFactory.java:199)
      2 frames
    9. Java Tools
      Type$ClassType.accept
      1. com.sun.tools.javac.code.Type$ClassType.accept(Type.java:936)
      1 frame
    10. Java RT
      AbstractTypeVisitor6.visit
      1. javax.lang.model.util.AbstractTypeVisitor6.visit(AbstractTypeVisitor6.java:92)
      1 frame
    11. Querydsl - APT support
      AbstractQuerydslProcessor.process
      1. com.mysema.query.apt.ExtendedTypeFactory.getEntityType(ExtendedTypeFactory.java:461)
      2. com.mysema.query.apt.AbstractQuerydslProcessor.processAnnotations(AbstractQuerydslProcessor.java:114)
      3. com.mysema.query.apt.AbstractQuerydslProcessor.process(AbstractQuerydslProcessor.java:97)
      3 frames
    12. Java Tools
      JavacTaskImpl.call
      1. com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)
      2. com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)
      3. com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)
      4. com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)
      5. com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)
      6. com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
      7. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
      8. com.sun.tools.javac.main.Main.compile(Main.java:523)
      9. com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
      10. com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
      10 frames
    13. com.mysema.maven
      AbstractProcessorMojo.execute
      1. com.mysema.maven.apt.AbstractProcessorMojo.execute(AbstractProcessorMojo.java:210)
      1 frame
    14. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    15. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    16. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
      3 frames
    17. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    18. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames