1 Reply Latest reply on Oct 19, 2007 2:51 AM by Ales Justin

    SEAM/Spring Integration Issue

    wayofdragon Newbie

      Hi All,

      I am trying to integerate Spring with SEAM in JBoss, but when I try to use the spring context loader in components.xml:

      <spring:context-loader context-locations="/WEB INF/applicationContext.xml"/>

      I get the following error:


      java.lang.IllegalArgumentException: no such setter method: org.jboss.seam.ioc.spring.ContextLoader.contextLocations

      Can anyone shed some light on this?

      Thanks,

      Paul

        • 1. Re: SEAM/Spring Integration Issue
          Ales Justin Master

          1st - please in the future don't repost your question over several forums
          2nd - add more information about what versions, env, ... are you running
          3rd - the exception says it all :-)

          Check if there is a setContextLocations method on org.jboss.seam.ioc.spring.ContextLoader class in your version of Seam artifact.