[Building Sakai] Spring 3, Sakai 2.9 kernel 1.3 issues

David Wafula davidwaf at gmail.com
Fri Nov 23 07:18:30 PST 2012


Hello all,
Am trying to deploy a tool into 2.9, kernel 1.3. Its a spring 3.1.1
application.
Now, this line in web.xml:

<listener-class>org.sakaiproject.util.ContextLoaderListener</listener-class>

 is throwing :

java.lang.IllegalStateException: Context attribute is not of type
WebApplicationContext:
org.springframework.web.context.support.XmlWebApplicationContext at 8d89c1:
display name [Root WebApplicationContext]; startup date [Fri Nov 23
17:11:52 SAST 2012]; parent:
org.sakaiproject.util.SakaiApplicationContext at 1ad54ea
        at
org.springframework.web.context.support.WebApplicationContextUtils.getWebApplicationContext(WebApplicationContextUtils.java:130)
        at
org.springframework.web.context.support.WebApplicationContextUtils.getWebApplicationContext(WebApplicationContextUtils.java:105)
        at
org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:479)
        at
org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)
        at
org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)
       .........

Does this Sakai version support Spring 3 apps ( i imagine it should)...or
am i doing something wrong ?
Thanks

-- 
David Wafula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121123/f492de4b/attachment.html 


More information about the sakai-dev mailing list