0 Replies Latest reply on Jul 27, 2009 12:56 PM by Sascha Janz

    trouble migrate from 2.0.2SP1 to 2.1.2 could not set field value

    Sascha Janz Master
      i got some trouble migrating from 2.0.2SP1 to 2.1.2

      i got a simple class with scope application like this

      @Name("application")
      @Scope(ScopeType.APPLICATION)
      @Startup
      public class myclass {
           
           
           
           private static final Log log = Logging.getLog(Application.class
                     .getName());

           
           @Create
           public void startServices() {
                
                MemoryWatcher.getInstance().start();
                
                
           }
           

      }


      but i got error

      Caused by: java.lang.IllegalArgumentException: Can not set org.jboss.seam.resteasy.Application field org.jboss.seam.resteasy.ResteasyBootstrap.application to myclass$$_javassist_seam_1

      any ideas?