*
The moose likes Spring and the fly likes Spring Jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring Jar" Watch "Spring Jar" New topic
Author

Spring Jar

Ritha Somluk
Greenhorn

Joined: Jun 14, 2010
Posts: 1
Can someone tell me what jar I need for the latest version of Spring. I've gone to the download page and downloaded spring-framework-3.0.2.RELEASE and when I added all the jars in that to my project in eclipse I can't see any classes when I expand the jar in package explorer. The icons next to each package are white instead of brown like the ones in other jars that actually contain classes.

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

spring.jar? Depends on what else you need, or if you want to only use specific modules.

Please see the JavaRanch naming policy and change your display name to conform with this policy. Thanks!
Eswar Nec
Ranch Hand

Joined: May 02, 2010
Posts: 105
In my suggesstion,

You will try to use NetBeans IDE latest version. This IDE have default spring framework.

you download the following jars
1. spring.jar
2. spring-mock.jar
I think its enough. I am not sure about this. But the IDE and above jars are satisfied in my sample spring related work.


Wake up! Don't let your smile be snatched away by anybody!
Regards, Eswar
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

This has nothing to do with IDEs; downloading and using the correct Spring jars is plenty.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

I added all the jars in that to my project in eclipse

How did you add them ?


[My Blog]
All roads lead to JavaRanch
Eswar Nec
Ranch Hand

Joined: May 02, 2010
Posts: 105
In my sample project,

I use Netbeans IDE6.7.1
Front end, i have use struts tags.
And backend (database related work), i have use spring.

I select the option such as struts 1.3.8 and Spring Web MVC 2.5 during project creation.
Then i add the following jars (spring.jar and spring-mock.jar) in my projects.

Thats why i told my previous post.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

@Eswara: not you; Christopher was asking the original poster, since they're the one with the problem, and the person he quoted.
Eswar Nec
Ranch Hand

Joined: May 02, 2010
Posts: 105
David Newton wrote:@Eswara: not you; Christopher was asking the original poster, since they're the one with the problem, and the person he quoted.


@Christopher: ok cool. Sorry for my misunderstanding.
@David Newton: ok cool. Sorry for my misunderstanding.
Always welcome for this kind of response.
 
wood burning stoves
 
subject: Spring Jar
 
Similar Threads
Getting the below error when doing formvalidation in spring
How to which class is loaded from which jar file alongwith location?
Shared Vs Packaged jars
[spring 2.0] MessageDispatcherServlet class not found
Can't get Bootstrap tutorial to work for the life of me