1 Reply Latest reply on Feb 15, 2011 3:23 AM by Björn Pilarski

    Error trying to get application to compile

    nraf Newbie

      I'm trying to compile a Seam 3 application (in progress of porting a Seam 2 application).

      I'm getting an error trying to compile the app. The following is the server log: http://pastebin.com/nLRvbyPL

      Any ideas?

        • 1. Re: Error trying to get application to compile
          Björn Pilarski Newbie
          java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken cannot be cast to antlr.Token

          in line 419 indicates that you are bundling a version of hibernate with your application and JBoss AS loaded the hibernate jars in two different classloaders (see this post).

          I resolved a similar error by removing the bundled jar in my application. You don't need it anyway since jboss provides hibernate for you.