Tema: Error Grails
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/06/2010, 10:06
Huzebio
 
Fecha de Ingreso: junio-2010
Mensajes: 3
Antigüedad: 14 años, 6 meses
Puntos: 0
Respuesta: Error Grails

Cita:

(... viene de arriba...)

Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.MappingException: Type [null] is not a basic type or a domain class and cannot be mapped. Either specify a type within the [mapping] block or use a basic type (String, Integer etc.)
at java.security.AccessController.doPrivileged(Native Method)
... 23 more
Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.MappingException: Type [null] is not a basic type or a domain class and cannot be mapped. Either specify a type within the [mapping] block or use a basic type (String, Integer etc.)
at java.security.AccessController.doPrivileged(Native Method)
... 24 more
Caused by: org.hibernate.MappingException: Type [null] is not a basic type or a domain class and cannot be mapped. Either specify a type within the [mapping] block or use a basic type (String, Integer etc.)
... 25 more
2010-06-10 17:51:36,912 [main] ERROR mortbay.log - Nested in org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.MappingException: Type [null] is not a basic type or a domain class and cannot be mapped. Either specify a type within the [mapping] block or use a basic type (String, Integer etc.):
org.hibernate.MappingException: Type [null] is not a basic type or a domain class and cannot be mapped. Either specify a type within the [mapping] block or use a basic type (String, Integer etc.)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Native Method)
at grails.web.container.EmbeddableServer$start.call(U nknown Source)
at _GrailsRun_groovy$_run_closure5_closure11.doCall(_ GrailsRun_groovy:145)
at _GrailsRun_groovy$_run_closure5_closure11.doCall(_ GrailsRun_groovy)
at _GrailsSettings_groovy$_run_closure10.doCall(_Grai lsSettings_groovy:274)
at _GrailsSettings_groovy$_run_closure10.call(_Grails Settings_groovy)
at _GrailsRun_groovy$_run_closure5.doCall(_GrailsRun_ groovy:137)
at _GrailsRun_groovy$_run_closure5.call(_GrailsRun_gr oovy)
at _GrailsRun_groovy.runInline(_GrailsRun_groovy:104)
at _GrailsRun_groovy.this$4$runInline(_GrailsRun_groo vy)
at _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_ groovy:58)
at RunApp$_run_closure1.doCall(RunApp.groovy:33)
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:32 4)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:33 4)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:344)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Un known Source)
at gant.Gant.dispatch(Gant.groovy:334)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.processTargets(Gant.groovy:495)
at gant.Gant.processTargets(Gant.groovy:480)

Perdón por el tocho de texto.