java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotatedElementUtils.findMergedAnnotation

This may be occuring because of multiple same jar file with different versions. Make sure you don't have multiple jar files with different versions of Spring.


your beans are not yet configured. configure it in your spring-servlet.xml

<bean id="employeeDao" class="com.abhishek.EmployeeDao">
    <property name="jdbcTemplate" ref="myJDBC"></property>
</bean>

Also look into following things.

  • Check whether your jars has required method.
  • Check whether same method must not be in more than one jar so that they both are trying to give their index to jvm, & JVM confused to pick correct.
  • List your jars/dependency remove unnecessary
  • Use maven to download required dependency or download from spring.io/projects , grepcode.

LAST sometime we have required jar but we do not have required method may be due to legacy etc so please choose appropriate jar for it.