Combination View Flat View Tree View
Threads [ Previous | Next ]
vijay DK
issue with deploying war with liferay6.1.1
February 1, 2013 6:12 AM
Answer

vijay DK

Rank: New Member

Posts: 3

Join Date: February 1, 2013

Recent Posts

hi,
I am trying to deploy spring 3.0 application war on liferay6.1.1 using Jboss7.It will give following error

/WEB-INF/youraccount-portlet.xml]:
Cannot resolve reference to bean 'auditInterceptor' while setting bean property 'interceptors'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'auditInterceptor' is defined

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loanDetailsDao':
Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.ibatis.sqlmap.client.SqlMapClient com.closepf.loandetails.dao.LoanDetailsDaoImpl.sqlMapClient; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.ibatis.sqlmap.client.SqlMapClient] 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), @org.springframework.beans.factory.annotation.Qualifier(value=sqlMapClient)}





auditInterceptor bean is declared in applicationcontext . This same war is deploy on liferay6.0 with jboss5 .I attached my applicationContext.xml and youraccount-portlet.xml .
Please suggest anything to resolve it
Attachments: applicationContext.xml (3.8k), youraccount-portlet.xml (1.2k)