留言板

issue with deploying war with liferay6.1.1

vijay DK,修改在11 年前。

issue with deploying war with liferay6.1.1

New Member 帖子: 3 加入日期: 13-2-1 最近的帖子
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