[Building Sakai] Mneme 2.1.18 in sakai 2.9.1

Zhen Qian zqian at umich.edu
Fri May 10 07:28:53 PDT 2013


Hi, Ciellie:

The dependency to AssignmentService has been removed from
ImportServiceImpl.java in mneme code in v2.1.18 tag:

/** Dependency: AssignmentService */
	//protected AssignmentService assignmentService = null;

However, the assignmentService dependency is still listed in the
components.xml file for mneme's ImportService bean
(https://source.sakaiproject.org/contrib/etudes/mneme/tags/2.1.18/mneme-impl/pack/src/webapp/WEB-INF/components.xml):

<property name="assignmentService"><ref
bean="org.sakaiproject.assignment.api.AssignmentService"/></property>
		

The temporary fix is to comment out the above line in components.xml
file. I am also cc-ing the etudes team here.

Thanks,

- Zhen



On Fri, May 10, 2013 at 8:57 AM, Ciellie
<Ciellie.JansenVanVuuren at nwu.ac.za>wrote:

>
> Hallo I downloaded mneme, ambrosia v 2.1.18 together with melete end
> etudes-util-1.0.17
>
> Mneme and Ambrosia build fine but when I start Tomcat I get the following
> error destroying all other tools.
>
> Error setting property values; nested exception is
>
> org.springframework.beans.NotWritablePropertyException: Invalid property
> 'assignmentService' of bean
>
> class [org.etudes.mneme.impl.ImportServiceImpl]: Bean property
> 'assignmentService' is not writable or
>
> has an invalid setter method. Does the parameter type of the setter match
> the return type of the getter?
>
> at
>
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(Ab
>
> stractAutowireCapableBeanFactory.java:1279)
>         at
>
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(Abstract
>
> AutowireCapableBeanFactory.java:1010)
>         at
>
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(Abstract
>
> AutowireCapableBeanFactory.java:472)
>         at
>
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowire
>
> CapableBeanFactory.java:409)
>
>
> at java.security.AccessController.doPrivileged(Native Method)
>
> at
>
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAut
>
> owireCapableBeanFactory.java:380)
>
> at
>
>
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>
> at
>
>
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonB
>
> eanRegistry.java:222)
>
>
> at
>
>
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:2
>
> 61)
>
>
> at
>
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>
> at
>
>
> org.sakaiproject.util.NoisierDefaultListableBeanFactory.getBean(NoisierDefaultListableBeanFactory.java:1
>
> 12)
>         at
>
>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>
> at
>
>
> org.sakaiproject.util.NoisierDefaultListableBeanFactory.preInstantiateSingletons(NoisierDefaultListableBea
>
> nFactory.java:73)
>         at
>
>
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractA
>
> pplicationContext.java:728)
>         at
>
>
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java
>
> :380)
>
> at
> org.sakaiproject.component.impl.SpringCompMgr.init(SpringCompMgr.java:160)
>
> at
>
> org.sakaiproject.component.cover.ComponentManager.getInstance(ComponentManager.java:98)
>
> at
>
> org.sakaiproject.component.cover.ComponentManager.get(ComponentManager.java:107)
>
> at
>
>
> org.sakaiproject.component.cover.ServerConfigurationService.getInstance(ServerConfigurationService.ja
>
> va:52)
>
> at
>
>
> org.sakaiproject.component.cover.ServerConfigurationService.getSakaiHomePath(ServerConfigurationSer
>
> vice.java:173)
>
> at
> org.sakaiproject.util.ToolListener.contextInitialized(ToolListener.java:66)
>
> at
>
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
>
> at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
>
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>
> at
>
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
>
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
>
> at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
>
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>
> at java.lang.Thread.run(Thread.java:662)
>
> Caused by: org.springframework.beans.NotWritablePropertyException: Invalid
> property '
>
> assignmentService' of bean class [org.etudes.mneme.impl.ImportServiceImpl]:
> Bean property '
>
> assignmentService' is not writable or has an invalid setter method. Does
> the
> parameter type of the
>
> setter match the return type of the getter?
>
> at
>
> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:801)
>
> at
>
> org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:651)
>
> at
>
>
> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
>
>
> at
>
>
> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:5
>
> 9)
>
> at
>
>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(Ab
>
> stractAutowireCapableBeanFactory.java:1276)
>
> ... 34 more
>
> --
> View this message in context:
> http://old.nabble.com/Mneme-2.1.18-in-sakai-2.9.1-tp35384859p35384859.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130510/2a27ee88/attachment.html 


More information about the sakai-dev mailing list