Hi,
I've build a web-app using hibernate2 It works fine on tomcat/windows, but now I've got to install it on freeBSD. I've managed to init the mysql database using schemaexport and the database looks alright.
If I use the app I get the message:
java.lang.NoSuchMethodError: net.sf.hibernate.persister.AbstractEntityPersister: method getTableName()Ljava/lang/String; not found
at net.sf.hibernate.persister.AbstractEntityPersister.generateSelectVersionString(AbstractEntityPersister.java:1188)
at net.sf.hibernate.persister.EntityPersister.(EntityPersister.java:916)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:41)
at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:136)
as a root cause. This is due to the method call getFactory of class: net.sf.hibernate.cfg.Configuration.
I've looked through all the tomcat log-files and there are no other errormessages other than the one above.
Does anyone know what's going wrong, and how to solve it?
|