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

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

    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