aspose file tools*
The moose likes Beginning Java and the fly likes How to use spring.jar file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to use spring.jar file?" Watch "How to use spring.jar file?" New topic
Author

How to use spring.jar file?

Sekhar Kadiyala
Ranch Hand

Joined: Feb 17, 2004
Posts: 170
Hi, I am trying to write a simple java program using spring framework. I have downloaded spring.jar file into a folder called C:\sekhar\java and this path is added to CLASSPATH variable.

Now, i have written a class file that imports a class from this spring.jar

Import statement reads


When i am compiling it throws the error message


It's been ages since i have done some Java programming!!! What am i missing?


PMP CSQA SCJP SCWCD SCBCD INS 21 INS 23
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3739
    
  16
Originally posted by Sekhar Kadiyala:
I have downloaded spring.jar file into a folder called C:\sekhar\java and this path is added to CLASSPATH variable.



Have you added the directory name (C:\sekhar\java) to the classpath path or the file name (C:\sekhar\java\spring.jar) ? It should be the latter.


Joanne
Sekhar Kadiyala
Ranch Hand

Joined: Feb 17, 2004
Posts: 170
Thanks a lot, buddy! I really missed such a trivial thing!!!

How can I ever call myself a triple certified java guy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use spring.jar file?