I have been using Spring-Data-Mongo for a while now on a project without issues. In the last POM update, I started seeing the following exception in the log file:
WARN : 04 Aug 2014 13:55:24 org.springframework.data.mongodb.core.mapping.BasicMongoPersistentProperty - Customizing field name for id property not allowed! Custom name will not be considered!
It does not provide any clue as to where this issue arises so we are clueless. It is repeated several times as calls to the app are made. We did find the origin of this here: https://github.com/spring-projects/spring-data-mongodb/blob/11417144bd3574c35af06fde3a3c2e56a1dd5890/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/BasicMongoPersistentProperty.java#L85
Any ideas?
Edit: Added example class for those interested:
@Document(collection="Account")
public class Account {
....
@Id
private String id = null;
....
}