This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Spring and the fly likes Is it required to add spring jar files at Java Build Path for every new spring project? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Is it required to add spring jar files at Java Build Path for every new spring project?" Watch "Is it required to add spring jar files at Java Build Path for every new spring project?" New topic
Author

Is it required to add spring jar files at Java Build Path for every new spring project?

Rajkumar Masanaiyan
Greenhorn

Joined: Sep 17, 2011
Posts: 24
I installed spring plugin through marketplace and created a new spring project. I was expecting the spring jar files to be available to all Spring projects but according all the tutorials I could lay my hands on, I need to add the jar files at the Java Build Path. Can't I configure somewhere so that spring jars are available for every new Spring project?

Ravi
Abhijit Dey
Greenhorn

Joined: Oct 19, 2011
Posts: 4

I think just installing spring plugin only affects its perspective, you have to include spring dependencies by adding the jar files to your classpath. Or you can use build tools(maven, ant).
Please let me corrected if i am wrong.


Thanks,
Abhijit
 
jQuery in Action, 2nd edition
 
subject: Is it required to add spring jar files at Java Build Path for every new spring project?