Tuesday, September 28, 2010

[TOOLS] Spring 3.0 - making life difficult

Just kidding. Kind of.

In Spring 3.0 they decided to break up the main spring.jar into a bunch of smaller jars. While I'm sure they had great reasons for doing so, it means that old examples are now broken since you have to figure out which jars they use.

Or, alternatively, you can just reference all of the jars. In Eclipse, create a new "User Library" called spring jars and just add all those spring jars into it. In whatever package needs spring, add your new user library to the build path.

No comments:

Post a Comment