组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
vijay DK
issue with deploying war with liferay6.1.1
2013年2月1日 上午6:12
答复

vijay DK

等级: New Member

帖子: 3

加入日期: 2013年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
附件: applicationContext.xml (3.8k), youraccount-portlet.xml (1.2k)