-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Help: It works on windows, error on freeBSD
PostPosted: Mon Apr 05, 2004 3:53 am 
Newbie

Joined: Fri Jan 23, 2004 3:54 am
Posts: 5
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 05, 2004 5:17 am 
Newbie

Joined: Fri Jan 23, 2004 3:54 am
Posts: 5
Found the solution: Rebuilding the source-code on the freeBSD-system solved it!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 05, 2004 5:29 am 
Newbie

Joined: Fri Jan 23, 2004 3:54 am
Posts: 5
Rebuilding the hibernate-code that is.

My own code was alright :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.