miércoles, 21 de noviembre de 2012

Error Spring injection

Error:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'recoverPass': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.activiti.engine.ProcessEngine com.avon.mx.reaco.security.core.user.RecoveryPasswordService.processEngine; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [org.activiti.engine.ProcessEngine] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}


Solution: 

Insert (required=false) in above the attribute to be wired
@Autowired (required=false)

Error PrimeFaces


Para solucionar este Warning:

Warning: This page calls for XML namespace http://primefaces.prime.com.tr/ui declared with prefix p but no taglibrary exists for that namespace.


Se debe cambiar el tag en los xmls, si se esta ocupando la versión 3 de primefaces o superior

xmlns:p="http://primefaces.org/ui"