[Building Sakai] Sakai new project (JSP+CRUD) deployment Error

Shahid Pathan spathan at platys.in
Fri Jan 13 06:54:02 PST 2012


I fixed the issue by moving generic-dao to 9.0.17 from 9.0.8

Thanks
Shahid

On Fri, Jan 13, 2012 at 12:04 AM, Shahid Pathan <spathan at platys.in> wrote:

> Hi All,
> I am using sakai-2.8.1 version with tomcat 7. With the help of Sakai App
> Builder i have created one employee project (jsp+crud) .
> When deploy to tomcat and when run then i got the following error.
> Could you please suggest me where and what changes should required to fix
> this issue.
>
>
>
> Error
> ===========
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'org.sakaiproject.employee.dao.PreloadData' defi
> ned in file
> [E:\www-servers\apache-tomcat-7.0.22\components\employee-pack\WEB-INF\spring-hibernate.xml]:
> Initialization of bean failed;
>  nested exception is org.springframework.beans.TypeMismatchException:
> Failed to convert property value of type [$Proxy13 implementing o
> rg.springframework.beans.factory.InitializingBean,org.springframework.aop.SpringProxy,org.springframework.aop.framework.Advised]
> to req
> uired type [org.sakaiproject.employee.dao.EmployeeDao] for property 'dao';
> nested exception is java.lang.IllegalArgumentException: Cann
> ot convert value of type [$Proxy13 implementing
> org.springframework.beans.factory.InitializingBean,org.springframework.aop.SpringProxy,
> org.springframework.aop.framework.Advised] to required type
> [org.sakaiproject.employee.dao.EmployeeDao] for property 'dao': no matching
>  editors or conversion strategy found
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory
> .java:480)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:4
> 09)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.j
> ava:380)
>
> Thanks
> Shahid
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120113/d0d588b7/attachment.html 


More information about the sakai-dev mailing list