+1  A: 

It can't find BeanDefinitionBuilder.genericBeanDefinition(String). This method was introduced in Spring 2.5

You say you're using Spring 2.5, but this error suggests you're actually using 2.0 (or earlier). Make sure you don't have multiple copies of Spring in your classpath.

skaffman
Its strange! I am using Netbeans 6.8.. Spring 2.5 comes with it.. but when i downloaded spring 2.5.6 and added to the project.. the issue got resolved!
Abdel Olakara
A: 

Classic cause is the existence of an old uber spring-all-2.0.jar or some like that.

If using maven check the output of mvn dependency:list and dependency:tree for spring jars with different versions.

Gareth Davis