Hi,

In this tutorial there is facility for using hibernate in tapestry using the 
package entities of the project :
<<
But what entities? Normally, the available entities are listed inside 
hibernate.cfg.xml, but that's not necessary with Tapestry; in another 
example of convention over configuration, Tapestry locates all entity 
classes inside the entities package and adds them to the configuration. 
Currently, that is just the Address entity.
>>
http://tapestry.apache.org/tapestry5/tutorial1/forms2.html

However with JBoss 5.1 I've got this error when executing the sample :
<<

location
classpath:org/apache/tapestry5/corelib/components/BeanEditForm.tml, line 
1org.hibernate.MappingException
Unknown entity: 
com.repository.wizard.tapestry.entities.Address
messages
        * Unknown entity: 
com.repository.wizard.tapestry.entities.Address
throwableCount
1
throwables
        * org.hibernate.MappingException: Unknown entity: 
com.repository.wizard.tapestry.entities.Address>>

Does somebody manage to run it on JBoss 5.1 ?

Regards,
Mondes_engloutis.



      

Reply via email to