Ver Mensaje Individual
  #5 (permalink)  
Antiguo 01/02/2013, 11:13
gebremswar
 
Fecha de Ingreso: enero-2012
Ubicación: Santiago de Surco, Lima - Perú
Mensajes: 266
Antigüedad: 12 años, 3 meses
Puntos: 57
Respuesta: Mapeo de tabla en Spring con Hibernate

packageToScan me marca como error en el editor (uso STS) :

Cita:
Attribute : name
The name of the property, following JavaBean naming conventions.
y en la consola:

Cita:
Caused by: org.springframework.beans.NotWritablePropertyExcep tion: Invalid property 'packagesToScan' of bean class [org.springframework.orm.hibernate3.LocalSessionFac toryBean]: Bean property 'packagesToScan' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.BeanWrapperImpl.setPrope rtyValue(BeanWrapperImpl.java:1012)
at org.springframework.beans.BeanWrapperImpl.setPrope rtyValue(BeanWrapperImpl.java:857)
at org.springframework.beans.AbstractPropertyAccessor .setPropertyValues(AbstractPropertyAccessor.java:76)
at org.springframework.beans.AbstractPropertyAccessor .setPropertyValues(AbstractPropertyAccessor.java:58)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1338)
... 63 more
Justamente comenté de dicho error en el mensaje anterior.