hi, i deployed my application on jboss and i get following exception:
15:17:36,931 ERROR [[/web]] Exception sending context initialized event to list ner instance of class org.jboss.seam.servlet.SeamListener java.lang.RuntimeException: Could not create Component: hibernateSession at org.jboss.seam.init.Initialization.addComponent(Initialization.java: 202) at org.jboss.seam.init.Initialization.installComponents(Initialization. ava:1118) .... .... .... Caused by: java.lang.IllegalArgumentException: no such field: org.jboss.seam.pe sistence.ManagedHibernateSession.hibernateSessionFactory at org.jboss.seam.util.Reflections.getField(Reflections.java:316) at org.jboss.seam.Component.initInitializers(Component.java:493) at org.jboss.seam.Component.<init>(Component.java:254) at org.jboss.seam.Component.<init>(Component.java:205)
in my components.xml i have these: <persistence:hibernate-session-factory name="sessionFactory"/> <persistence:managed-hibernate-session name="hibernateSession" hibernate-session-factory="#{sessionFactory}" auto-create="true"/> <transaction:hibernate-transaction session = "#{hibernateSession}"/>
can somebody help me? thank you
|