Clasico 1:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'beanName' while setting bean property 'prop'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDao' defined in ServletContext resource
Problema de referencia de cableo, chequear que la property en el xml esté matcheada en la clase a cablear y que tenga el setter.
Clasico 2
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [com....] for property 'dao'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [java.lang.String] to required type [com.....] for property 'dao': no matching editors or conversion strategy found
Problema de referencia, chequear el parámetro de la property en el xml (value o ref)
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario