Problems compiling spring data mongodb repository definition

I have a spring servlet-context.xml file with the following definition in it:

<mongo:repositories base-package="com.example.repositories.mongodb"/>

This causes a compilation error in STS:

Description Resource Path Location Type Error occured processing XML 'tried to access method org.springframework.context.annotation.AnnotationConfigUtils.processCommonDefinitionAnnotations(Lorg/springframework/beans/factory/annotation/AnnotatedBeanDefinition;)V from class'. See Error Log for more details servlet-context.xml /example/src/main/webapp/WEB-INF line 97 Spring Beans Problem

When I remove the content of base-package the error goes away. I thought that maybe some of the repositories I defined are wrong, but they seem to be working fine. The application starts fine and works well. I am using spring-data-mongodb 1.4.0

Any ideas?


solved with STS 3.5.0. STS 3.5.0 comes with Spring 4.0.2.

Need Your Help

detecting variable type in zend router variables

php model-view-controller zend-framework url

so I'm using zend_router to route my index page in my controller to an action other than the index action:

Special decimal formatting

c# formatting decimal

Is there a string format that can be used on a decimal so that the following results are obtained?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.