Announcement Announcement Module
No announcement yet.
Setting up Spring Environment Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting up Spring Environment

    I am new spring as the tutorials suggest to download the relevant jars...but when i create a stand alone java project and import those jars they are getting recognised..

    would be good if some one gimme the basic steps for this setup...

    1) location of directory structure for jars
    2) location of directory structure xml files
    3) class path updates if any?

    Thanks in advance

  • #2
    I'm not sure I understand the exact problem you are having when trying to setup your environment (or what you are trying to setup). It seems as though you may be having problems setting up your classpath? What are you trying to do (what tutorial are you trying to follow)? What is happening instead (i.e. what stack trace or error are you getting)?

    A few suggestions on getting a simple environment setup:



    • #3
      I am not sure what is your problem, but as a basic set-u if using Eclipse, just add the spring.jar and common-logging.jar from the spring distribution folder to your project. Also the applicationContext.xml holding the Bean definitions must be copied to your classpath root folder. For example, if your code is all c:\dev\src and your class file are in c:\dev\bin, copy the applicationContext.xml to C:\dev\bin for the Spring container to start.

      hope this helps


      • #4
        Setting up Spring Environment

        The machine is turned on when setting rates.