changed version of spring to 2.0-m5. Also, added spring dependency in activemq core to ensure that the right version is being set in the classpath.