-
Mar 26th, 2010, 07:51 AM
#1
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
-
Apr 8th, 2010, 10:36 PM
#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:
HTH,
Rob
-
Apr 9th, 2010, 04:15 PM
#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
jp
-
Jul 27th, 2012, 04:52 AM
#4
Setting up Spring Environment
The machine is turned on when setting rates.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules