java.lang.ClassCastException: [b]ru._NewSessionBeanRemote_Wrapper cannot be cast to ru.NewSessionBean[/b]

Oracle Community | technomen | 7 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

    Glassfish v3 & EJB 3

    Oracle Community | 7 years ago | technomen
    java.lang.ClassCastException: [b]ru._NewSessionBeanRemote_Wrapper cannot be cast to ru.NewSessionBean[/b]

    Root Cause Analysis

    1. java.lang.ClassCastException

      [b]ru._NewSessionBeanRemote_Wrapper cannot be cast to ru.NewSessionBean[/b]

      at ejb_client.Main.main()
    2. ejb_client
      Main.main
      1. ejb_client.Main.main(Main.java:31)
      1 frame