0 Replies Latest reply on Mar 24, 2010 2:25 PM by pushpak1981

    Cannot type cast seam component

    pushpak1981 Novice

      Hi,


      I have defined an seam component in components.xml. I am doing Component.getInstance(abc); to get the component object. Just SOPL the Object gives me proper type but when i try to type cast to the class it gives me type cast exception.




      java.lang.ClassCastException: abcClass$$javassistseam2 cannot be cast to abcClass

      Any Help would be highly Appreciated.


      Thanks.