java.lang.ClassCastException: [Ljava.lang.Object; incompatible with com.dto.AppDTO2

Coderanch | Bhupendra Dubey | 6 years 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

    How to retrieve particular object from criteria list, I do not want object array

    Coderanch | 6 years ago | Bhupendra Dubey
    java.lang.ClassCastException: [Ljava.lang.Object; incompatible with com.dto.AppDTO2

    Root Cause Analysis

    1. java.lang.ClassCastException

      [Ljava.lang.Object; incompatible with com.dto.AppDTO2

      at com.action.AppService.main()
    2. com.action
      AppService.main
      1. com.action.AppService.main(AppService.java:121)
      1 frame