org.springframework.beans.factory.BeanInitializationException: Could not find exactly 1 WebServiceTemplate in application context

Spring JIRA | Shiv Veeram | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

    Root Cause Analysis

    1. org.springframework.beans.factory.BeanInitializationException

      Could not find exactly 1 WebServiceTemplate in application context

      at org.springframework.ws.test.support.MockStrategiesHelper.getStrategy()
    2. Spring WS Test
      MockWebServiceServer.createServer
      1. org.springframework.ws.test.support.MockStrategiesHelper.getStrategy(MockStrategiesHelper.java:84)
      2. org.springframework.ws.test.client.MockWebServiceServer.createServer(MockWebServiceServer.java:142)
      2 frames