Forum LAMS for Tech-Heads - General Forum: Re: Re: Re: Re: Re: Re: Problem using new tool


 
Search: 

10: Re: Re: Re: Re: Re: Re: Problem using new tool
In response to 9 11/24/09 01:37 PM
[ Reply | Forward ]
I did both things, but no success.

I got this error:

Unable to initialize group definition. Group resource name [classpath:/org/lamsfoundation/lams/beanRefContext.xml], factory key [context.central]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'context.central' defined in class path resource [org/lamsfoundation/lams/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jboss.spring.factory.VFSClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'forumManagerTarget' defined in ZipEntryHandler@1936677334[path=lams.ear/lams-tool-lafrum11.jar/org/lamsfoundation/lams/tool/forum/forumApplicationContext.xml context=file:/Users/patrosmania/Documents/Tesis/lams/jboss-5.1.0.GA/server/default/deploy/ real=file:/Users/patrosmania/Documents/Tesis/lams/jboss-5.1.0.GA/server/default/deploy/lams.ear/lams-tool-lafrum11.jar/org/lamsfoundation/lams/tool/forum/forumApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.uach.lams.tool.socialToolForLAMS.persistence.TimestampDao] to required type [org.lamsfoundation.lams.tool.forum.persistence.TimestampDao] for property 'timestampDao'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.uach.lams.tool.socialToolForLAMS.persistence.TimestampDao] to required type [org.lamsfoundation.lams.tool.forum.persistence.TimestampDao] for property 'timestampDao': no matching editors or conversion strategy found

Posted by Felipe Peña

11: Re: Re: Re: Re: Re: Re: Re: Problem using new tool
In response to 10 11/24/09 06:30 PM
[ Reply | Forward ]
Well it's a different error! In this case I think that's progress.

This error is saying that one the forum tool's beans can't start because there is a naming clash with one of the socialToolForLAMS beans. In your applicationContext.xml you might want to try renaming the 'timestampDao' to something more unique, e.g. 'socialToolForLAMSTimestampDao'.

Posted by Jun-Dir Liew

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum