• Breaking News

    Saturday 5 October 2013

    Set Up Eclipse To Run Spring Application

    Hello Guys in this tutorial we will see how we can setup Eclipse to run spring application.

    Before setup eclipse we have to download all JAR file required to run our spring application.

    1.  Download Latest Version Spring framework distribution from

    https://repo.spring.io/release/org/springframework/spring/4.2.2.RELEASE/spring-framework-4.2.2.RELEASE-dist.zip

    2. Download Latest Version Apache Commons Logging API(commons- logging-version.jar) API from

    http://commons.apache.org/logging/download_logging.cgi

    STEPS TO SETUP SPRING FRAMEWORK IN ECLIPSE

    1.  File -> New -> Java Project  
     

      2. Right click on your project and select properties.

      3. Select Java Build Path then select Libraries.




       4.  Click on Add Library

       5.  Select User Library then click on next


       
        6.  Select User Libraries.


            
        7.   Click on New and Give library name, click on OK
        
    .

     7.  Click on Add External JAR  browse all jar files of spring distribution.and commons-logging-version.jar then click ok.


       8.  Select check box, click finish and ok.



    So Finally we setup our eclipse to run spring application. If you stuck to setup eclipse please comment us.

    No comments:

    Post a Comment