[jboss-user] [JBoss Seam] - NoClassDefFoundError - Hibernate2/tomcat55

matt.drees do-not-reply at jboss.com
Wed Sep 26 21:00:48 EDT 2007


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

anonymous wrote : 
  | 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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089134#4089134

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089134



More information about the jboss-user mailing list