title: Exception when adding interceptor
body: <p>Hello I have this following exception :</p>
  
  <pre><code>ERROR 13 May 2013 15:20:17,471 http-9090-1 org.springframework.web.servlet.DispatcherServlet - Context initialization failed
  org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.ws.soap.server.endpoint.interceptor.DelegatingSmartSoapEndpointInterceptor#0': Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.ws.server.EndpointInterceptor]: Could not convert constructor argument value of type [com.syngenta.panda.web.mvc.interceptor.ExternalLinkInterceptor] to required type [org.springframework.ws.server.EndpointInterceptor]: Failed to convert value of type 'com.syngenta.panda.web.mvc.interceptor.ExternalLinkInterceptor' to required type 'org.springframework.ws.server.EndpointInterceptor'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.syngenta.panda.web.mvc.interceptor.ExternalLinkInterceptor] to required type [org.springframework.ws.server.EndpointInterceptor]: no matching editors or conversion strategy found
      at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:702)
      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442)
      at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458)
      at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:339)
      at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:306)
      at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
      at javax.servlet.GenericServlet.init(GenericServlet.java:212)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
      at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:722)
  </code></pre>
  
  <p>this only happended when I've added interceptor:</p>
  
  <pre><code>@Component
  public class ExternalLinkInterceptor extends HandlerInterceptorAdapter {
  
      @Override
      public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
              throws Exception {
  //code
  }
  </code></pre>
  
  <p><strong>EDIT</strong> <em>update</em>:
  applicationContext.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:context="http://www.springframework.org/schema/context"
         xsi:schemaLocation="http://www.springframework.org/schema/beans
         http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"&gt;
  
      &lt;import resource="properties-beans.xml"/&gt;
  
      &lt;context:component-scan base-package="com.syngenta.panda.security"/&gt;
  
      &lt;import resource="security-beans.xml"/&gt;
  
      &lt;context:component-scan base-package="com.syngenta.panda.shared.service"/&gt;
  
      &lt;import resource="classpath:/com/syngenta/panda/shared/service/config/shared-service-beans.xml"/&gt;
  
      &lt;context:component-scan base-package="com.syngenta.panda.discovery.service"/&gt;
  
      &lt;import resource="classpath:/com/syngenta/panda/discovery/service/config/discovery-service-beans.xml"/&gt;
  
      &lt;context:component-scan base-package="com.syngenta.panda.analysis.service"/&gt;
  
      &lt;import resource="classpath:/com/syngenta/panda/analysis/service/config/analysis-service-beans.xml"/&gt;
  
      &lt;context:component-scan base-package="com.syngenta.panda.assay.service"/&gt;
  
      &lt;import resource="classpath:/com/syngenta/panda/assay/service/config/assay-service-beans.xml"/&gt;
  
      &lt;import resource="classpath:/com/syngenta/panda/dao/config/dao-beans.xml"/&gt;
  
      &lt;import resource="classpath:/com/syngenta/panda/integration/refdata/config/xrd-integration-beans.xml"/&gt;
  
      &lt;import resource="classpath:/com/syngenta/panda/integration/smartchoice/config/smartchoice-integration-beans.xml"/&gt;
      &lt;import resource="classpath:/com/syngenta/panda/integration/vast/config/vast-integration-beans.xml"/&gt;
      &lt;import resource="classpath:/com/syngenta/panda/integration/bfx/config/bfx-integration-beans.xml"/&gt;
      &lt;import resource="classpath:/com/syngenta/panda/integration/magenta/config/magenta-integration-beans.xml"/&gt;
  
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>the servlet-context.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans:beans xmlns="http://www.springframework.org/schema/mvc"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:beans="http://www.springframework.org/schema/beans"
               xmlns:mvc="http://www.springframework.org/schema/web-services"
               xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
          http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
          http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd
          http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/web-services http://www.springframework.org/schema/web-services/web-services.xsd"
               xmlns:security="http://www.springframework.org/schema/security"
               xmlns:tx="http://www.springframework.org/schema/tx"&gt;
  
      &lt;!-- DispatcherServlet Context: defines this servlet's request-processing infrastructure --&gt;
  
      &lt;!-- Enables the Spring MVC @Controller programming model --&gt;
      &lt;annotation-driven/&gt;
      &lt;tx:annotation-driven proxy-target-class="true"/&gt;
      &lt;!-- Resolves views selected for rendering by @Controllers to .jsp resources in the /WEB-INF/views directory --&gt;
      &lt;!--beans:bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
          &lt;beans:property name="prefix" value="/WEB-INF/views/" /&gt;
          &lt;beans:property name="suffix" value=".jsp" /&gt;
      &lt;/beans:bean--&gt;
  
      &lt;!-- Imports user-defined @Controller beans that process client requests --&gt;
      &lt;beans:import resource="controllers.xml"/&gt;
      &lt;beans:import resource="freemarker.xml"/&gt;
      &lt;security:global-method-security pre-post-annotations="enabled"/&gt;
      &lt;mvc:interceptors&gt;
          &lt;beans:bean class="com.syngenta.panda.web.mvc.interceptor.ExternalLinkInterceptor"/&gt;
      &lt;/mvc:interceptors&gt;
  
  &lt;/beans:beans&gt;
  </code></pre>
  
  <p>I don't understand what this exception means and I need help.</p>