Download Spring JAR files from here.

Download the javax-annotation-api-1.3.2.jar file from here.

Create a folder named lib in the project root directory.

Add the JAR files in the lib folder and then add it to the Java Build Path.