If you get an exception like this

java.lang.NoClassDefFoundError - org/springframework/core/io/Resource

Cause

You were probably trying to use the XML Configuration mechanism, which uses Spring, but without having the Spring jar on your classpath.

Solution

Add the Spring jar to your classpath.

© 2004-2011 The Apache Software Foundation.
Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram