<mappingFiles> DicomEcg.hbm.xml</mappingFiles> <mappingFiles> DicomEcgAttribute.hbm.xml</mappingFiles> <mappingFiles> DicomEcgConfirm.hbm.xml</mappingFiles>
write mappingFiles like this ,no one can work, how to let me using more then one hibernate file?
<mappingFiles>
${omodHbmConfig}
</mappingFiles>
--
OpenMRS Developers: http://go.openmrs.org/dev
Post: d...@openmrs.org
Unsubscribe: dev+uns...@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/
Error creating bean with name 'messageSourceServiceTarget' defined in
class path resource [applicationContext-service.xml]: Cannot resolve reference
to bean 'mutableResourceBundleMessageSource' while setting bean property
'activeMessageSource'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'mutableResourceBundleMessageSource' defined in class path resource
[applicationContext-service.xml]: Initialization of bean failed; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0'
defined in class path resource [applicationContext-service.xml]: Cannot resolve
reference to bean 'transactionInterceptor' while setting bean property
'transactionInterceptor'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'transactionManager' defined in class path resource
[applicationContext-service.xml]: Cannot resolve reference to bean
'sessionFactory' while setting bean property 'sessionFactory'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'sessionFactory' defined in class path resource
[applicationContext-service.xml]: Invocation of init method failed; nested
exception is org.hibernate.HibernateException: Unable to instantiate default
tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
This is almost always due to a problem with hbm.xml file as Rafa says. The error message is gigantic and extends off the page, just copy and paste to a text editor. The problem is described almost at the end of the message.
What's the full stack trace either from the module start page or from the server logs? Could have something about a property not matching or libraries not matching maybe. Google says something about javaassist jar not being there, but that should be handled by openmrs.
If you narrowed it down to that file, you could try taking out parts of the hbm file until you find it.
Ben