A long time ago in a galaxy far away, spring provided a jar that included all the dependencies. Well, they don't do that any more, and that's fair enough.... But, given that I don't use (and don't want to use) Maven/Ivy etc. how do I know what supporting jars I need, and where do I find them.
I've been rummaging in the spring docs for two days now, on and off, and have failed to find it. I've been chasing down the class not found exceptions one at a time, and each has just led to something new. Now I have a class not found but all the online comments I can find about that particular class claim that I need a jar I already have (the jar really does not contain the problem class).
Can anyone give a complete list, ideally with the locations they should come from to ensure they're the right versions?
Unzip and Install into a well-known and accessible location. This is where you will locate the jars.
Now that you have the framework, and you are correct, each module is now nicely independently packaged,
from http://www.springsource.org/documentation pick which one interests
you. For instance, if you want to play with SpringBatch then download that.
Joined: Dec 08, 2004
Hi Pat, thanks for your reply, unfortunately, that doesn't (appear to) work.
The archive contains all the Spring stuff, but not the dependencies. I have the Spring stuff already, but I'm trying to work with AOP, and that needs more support. I've chased down AspectJ, AOP Alliance, and some other things, but do not yet have a full working set, nor do I know if the particular versions I have are the right ones, so I'm still getting class not found exceptions. It's the external dependencies I need to know about, rather than the core jar. Sorry I wasn't clear.
Well, if you are stuck, you could make a mini maven project with all the spring dependencies that you need, and run mvn dependency::tree to get all the dependencies. Much better than tracking down individual ClassNotFoundExceptions I think
Doesn;t need much. Your problem might be that you have an older version of aopalliance.jar or commons-logging.jar. If you use maven to dwnload your dependencies, the correct version will end up in your local repo.
I too have similar dependency issue while using spring 3.1.1. I have downloaded following jars
Perhaps this might help.
subject: Trouble getting started with AOP, what exactly are the dependencies?