0 Replies Latest reply on Sep 26, 2007 9:00 PM by matt.drees

    NoClassDefFoundError - Hibernate2/tomcat55

    matt.drees

      When trying to log into the Hibernate2 booking example (on tomcat 5.5), I get this:


      SEVERE: Error invoking login method
      javax.el.ELException: java.lang.reflect.InvocationTargetException
      at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:332)
      ...
      ... 67 more
      Caused by: java.lang.NoClassDefFoundError: antlr/ANTLRException
      at org.hibernate.hql.ast.ASTQueryTranslatorFactory.createQueryTranslator(ASTQueryTranslatorFactory.java:35)
      at
      ...
      at org.jboss.seam.persistence.HibernateSessionProxy.createQuery(HibernateSessionProxy.java:118)
      at org.jboss.seam.example.hibernate.AuthenticatorAction.authenticate(AuthenticatorAction.java:22)
      ... 89 more


      It looks like build-tomcat55.xml needs to include antlr.jar, but I haven't verified that'll fix it.

      Thanks