1 Reply Latest reply on Jun 21, 2011 4:59 AM by Jason Porter

    Seam2 app running on GlassFish 3.1

    Mike Burton Newbie

      Hello folks,

      I'm having trouble running a Seam2 app under GlassFish 3.1
      I can get it to deploy (had to add several jars to deployed-jars-war.list) But when I browse to it I get this:

      Faces Servlet threw exception
      java.lang.LinkageError: loader constraint violation:
      when resolving method javassist.util.proxy.FactoryHelper.toClass(Ljavassist/bytecode/ClassFile;Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class;
              the class loader (instance of org/glassfish/web/loader/WebappClassLoader) of the current class, org/jboss/seam/util/ProxyFactory,
      and the class loader (instance of org/apache/felix/framework/ModuleImpl$ModuleClassLoaderJava5)
      for resolved class, javassist/util/proxy/FactoryHelper,
      have different Class objects for the type javassist/bytecode/ClassFile used in the signature

      Any ideas please?