Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Cannot find jars required by tutorial like spring.jar, please help

  1. #1
    Join Date
    Mar 2010
    Posts
    14

    Default Cannot find jars required by tutorial like spring.jar, please help

    http://techtots.blogspot.com/2010/02...notations.html

    I found a nice tutorial that clearly lists everything I need to get a working AOP program going that does something similar to what I want. The problem is, when I download it from this website (the 155mb one) I get tons of folders and I cannot find anything, not even spring.jar. I cannot find a "lib" or "dist" folder that the tutorial mentions

    I must be making some noob mistake, can anybody help me out? I feel like I am taking crazy pills

  2. #2
    Join Date
    Jan 2008
    Location
    San Diego
    Posts
    780

  3. #3
    Join Date
    Mar 2010
    Posts
    14

    Default

    That link does not contain a spring.jar in the "dist" folder. I keep seeing links saying that certain jars should be in folders that do no exist. I don't understand, some of those links, like the one I first gave are very recent...

  4. #4
    Join Date
    Jan 2010
    Location
    Maryland
    Posts
    14

    Default

    On this site go to Downloads etc. Pick the version of Spring you want and download the zip file with dependencies.

    Extract everything in the zip file to a folder.

    In that folder, you will see something like the following (this is from spring-framework-2.5.6.SEC01):

    aspectj
    dist
    docs
    jarcontent
    lib
    mock
    samples
    etc....


    You want the stuff in lib.

  5. #5
    Join Date
    Jan 2010
    Location
    Maryland
    Posts
    14

    Default

    Also, you'll find spring.jar and spring-sources.jar (the source jar) in spring-framework-2.5.6.SEC01\dist.

  6. #6
    Join Date
    Mar 2010
    Posts
    14

    Default

    Thanks for pointing this all out, it all makes more sense now.

  7. #7
    Join Date
    Apr 2010
    Posts
    2

    Default

    I have downloaded spring-framework-3.0.2.RELEASE-dependencies.zip
    from http://www.springsource.com/download...ng%20Framework.

    It does not seem to have the structure mentioned in earlier posts, in particular I can see no dist directory at all.

    The top level of the zip file starts with:
    com.bea.commonj
    com.caucho
    ...

    It seems as though this archive contains the dependencies but not the spring framework itself.

    Unless I am being very silly ...

  8. #8
    Join Date
    Jan 2010
    Location
    Maryland
    Posts
    14

    Default

    Try looking for spring.jar in dist, not lib.

  9. #9
    Join Date
    Apr 2010
    Posts
    2

    Default

    I cannot find a dist directory in the zip file.

  10. #10
    Join Date
    May 2010
    Posts
    9

    Default

    I think since the vrsion 3.0 Spring doesn't use the same file architecture.
    Now the zip file is a lot of folders which package name like...
    There is not a spring.jar anymore

    That's pretty annoying!!!

    Can someone tell me what's the new name for this jar??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •