title: Spring Throws NoSuchMethodError Exception
body: <p>When I'm trying to run the below code</p>
  
  <pre><code>@Override
  public List&lt;EventDetails&gt; process(int event_status) throws EventDetailDataException {
      String sql="select * from MicroServiceEventDetails where  event_status=?";
      List&lt;EventDetails&gt; EventDetailsList = template.query(sql, new BeanPropertyRowMapper&lt;EventDetails&gt;(EventDetails.class),new Object[] {event_status});
      return EventDetailsList;
  }
  </code></pre>
  
  <p>It throws the following exception and here's the error log:-</p>
  
  <pre><code>Apr 02, 2017 6:26:04 AM org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler handleError
  SEVERE: Unexpected error occurred in scheduled task.
  java.lang.NoSuchMethodError: org.springframework.core.convert.support.DefaultConversionService.getSharedInstance()Lorg/springframework/core/convert/ConversionService;
  at org.springframework.jdbc.core.BeanPropertyRowMapper.&lt;init&gt;(BeanPropertyRowMapper.java:91)
  at com.syntel.boot.dao.EventProcessDaoImpl.process(EventProcessDaoImpl.java:38)
  at com.syntel.boot.services.EventDetailServiceImpl.process(EventDetailServiceImpl.java:73)
  at com.syntel.boot.scheduler.microeventschudler.eventExcuter(microeventschudler.java:30)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)
  at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
  at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at java.lang.Thread.run(Thread.java:745)
  </code></pre>
  
  <p>Maybe maven dependencies would be the reason i'm not sure, help?</p>