0

I am create Spring MVC database connection with Annotation. i got this error

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping': Initialization of bean failed; nested exception is java.lang.NoSuchFieldError: USER_DECLARED_METHODS

So any one please give idea about this?

skaffman
  • 398,947
  • 96
  • 818
  • 769
  • I think it is dependency problem at least according by this http://stackoverflow.com/questions/4244183/upgrading-from-spring-3-0-3-release-results-in-java-lang-nosuchfielderror-user – Timii Dec 27 '11 at 11:21
  • please post the full stacktrace – jmj Dec 27 '11 at 11:22

1 Answers1

0

Check you have proper jars in your build path.

org.springframework.beans-.....jar
org.springframework.web.servlet-......jar

and other necessary j2EE, Spring jars.

Muhammad Imran Tariq
  • 22,654
  • 47
  • 125
  • 190