Hello,

I m bulding a new task class and I need to instanciate RollerFactory but I
got a problem with the instanciation, the code inside the class is :

RollerFactory.setRoller("org.apache.roller.business.hibernate.HibernateRollerImpl");

as in the classes SyncWebsitesTask and RefreshEntriesTask.
When I compiled no errors come up but when I start to run it, I get the
following error :

2006-08-09 09:37:21,601 ERROR org.apache.roller.model.RollerFactory - Error
instantiating org.apache.roller.business.hibernate.HibernateRollerImpl

with the following root cause:

java.lang.UnsupportedClassVersionError: org/hibernate/Session (Unsupported
major.minor version 48.0).

My hibernate jar is hibernate3.jar, was there any upgrading about this
class? does the problem come from another cause?
Does anyone know this error and can help me?

Thanks for helping

Anne
-- 
View this message in context: 
http://www.nabble.com/instanciation-of-RollerFactory-tf2077312s12275.html#a5721514
Sent from the Roller - Dev forum at Nabble.com.

Reply via email to