Hi,

 I would like to integrate Pentaho standalone with the struts webapp
provided by appfuse basic struts, here is the error I am getting while
initializing. Any suggestions on how to deal with this. Thanks for any
help!! I am sure this would be helpful for lots of people out there if it is
done right.

org.hibernate.MappingException: An AnnotationConfiguration instance is
required to use <mapping class="org.appfuse.model.User"/>
        at
org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1597)
        at
org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1552)
        at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1531)
        at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1505)
        at org.hibernate.cfg.Configuration.configure(Configuration.java:1425)
        at org.hibernate.cfg.Configuration.configure(Configuration.java:1411)
        at 
org.pentaho.repository.HibernateUtil.initialize(HibernateUtil.java:117)
        at org.pentaho.repository.HibernateUtil.<clinit>(HibernateUtil.java:83)
        at
com.pentaho.repository.subscribe.SubscriptionRepository.<init>(SubscriptionRepository.java:64)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at
org.pentaho.core.system.PentahoSystem.createObject(PentahoSystem.java:1192)
        at
org.pentaho.core.system.PentahoSystem.createObject(PentahoSystem.java:1215)
        at
org.pentaho.core.system.PentahoSystem.loadStartupObject(PentahoSystem.java:608)
        at
org.pentaho.core.system.PentahoSystem.loadStartupObject(PentahoSystem.java:563)
        at
org.pentaho.core.system.PentahoSystem.initGlobalObjects(PentahoSystem.java:732)
        at
org.pentaho.core.system.GlobalObjectInitializer.startup(GlobalObjectInitializer.java:33)
        at
org.pentaho.core.system.PentahoSystem.createSystemListeners(PentahoSystem.java:390)
        at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:323)
        at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:215)
        at org.appfuse.webapp.action.Init.initialize(Init.java:35)


-- 
View this message in context: 
http://www.nabble.com/Hibernate-error-tf3655652s2369.html#a10212953
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to