6 Replies Latest reply on Jul 15, 2007 3:53 PM by Matt Drees

    migration from 1.2 to 2.0beta1 @In

    Christoph Aigner Newbie


      after migrating from 1.2 to 2.0 Seam throws the following error:

      java.lang.IllegalArgumentException: value of context variable is not an instance of the component bound to the context variable: session

      the error occurs when I try to inject a class:

      public class Session implements java.io.Serializable {


      public class Desktop implements DesktopInterface {

      @In(create=true,required=false) Session session2;

      worked with 1.2. What am I doing wrong here?