You can try to add annotation dependencies to pom.xml, so that they would be available for Spring:
<dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.2</version> </dependency>