java.lang.Error: Unresolved compilation problems: RandomShapeGenerator cannot be resolved to a type The method draw() is undefined for the type Shape

Coderanch | Moon Lu | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Exception in thread "main" java.lang.Error

    Coderanch | 3 years ago | Moon Lu
    java.lang.Error: Unresolved compilation problems: RandomShapeGenerator cannot be resolved to a type The method draw() is undefined for the type Shape
  2. 0

    Exception in thread "main" java.lang.Error

    Coderanch | 3 years ago | Henry Wong
    java.lang.Error: Unresolved compilation problems: RandomShapeGenerator cannot be resolved to a type The method draw() is undefined for the type Shape
  3. 0

    Exception in thread "main" java.lang.Error

    Coderanch | 3 years ago | Moon Lu
    java.lang.Error: Unresolved compilation problems: RandomShapeGenerator cannot be resolved to a type The method draw() is undefined for the type Shape
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception in thread main java.lang.Error (Beginning Java forum at Coderanch)

    coderanch.com | 1 year ago
    java.lang.Error: Unresolved compilation problems: RandomShapeGenerator cannot be resolved to a type The method draw() is undefined for the type Shape
  6. 0

    Exception in thread main java.lang.Error (Beginning Java forum at Coderanch)

    coderanch.com | 2 months ago
    java.lang.Error: Unresolved compilation problems: RandomShapeGenerator cannot be resolved to a type The method draw() is undefined for the type Shape

    Root Cause Analysis

    1. java.lang.Error

      Unresolved compilation problems: RandomShapeGenerator cannot be resolved to a type The method draw() is undefined for the type Shape

      at Shapes.main()
    2. Unknown
      Shapes.main
      1. Shapes.main(Shapes.java:12)
      1 frame
    3. 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:483)
      4 frames
    4. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
      1 frame