java.lang.IllegalArgumentException: Cannot determine the package name of 'java.util.Map.Entry'. Please use the TypeReference(packageName, className) constructor

eclipse.org | 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

    Eclipse Community Forums: TMF (Xtext) ยป Couldn't resolve reference to JvmType 'ecore2xtext.FormatterFragment'

    eclipse.org | 7 months ago
    java.lang.IllegalArgumentException: Cannot determine the package name of 'java.util.Map.Entry'. Please use the TypeReference(packageName, className) constructor

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cannot determine the package name of 'java.util.Map.Entry'. Please use the TypeReference(packageName, className) constructor

      at org.eclipse.xtext.xtext.generator.model.TypeReference.getPackageName()
    2. org.eclipse.xtext
      JavaFileAccess$JavaTypeAwareStringConcatenation.getStringRepresentation
      1. org.eclipse.xtext.xtext.generator.model.TypeReference.getPackageName(TypeReference.java:176)
      2. org.eclipse.xtext.xtext.generator.model.TypeReference.<init>(TypeReference.java:70)
      3. org.eclipse.xtext.xtext.generator.model.TypeReference.<init>(TypeReference.java:66)
      4. org.eclipse.xtext.xtext.generator.model.TypeReference.<init>(TypeReference.java:62)
      5. org.eclipse.xtext.xtext.generator.model.TypeReference.<init>(TypeReference.java:145)
      6. org.eclipse.xtext.xtext.generator.model.JavaFileAccess$JavaTypeAwareStringConcatenation.getStringRepresentation(JavaFileAccess.java:62)
      6 frames