If you get an exception like this java.lang.NoClassDefFoundError - org/springframework/core/io/Resource CauseYou were probably trying to use the XML Configuration mechanism, which uses Spring, but without having the Spring jar on your classpath. SolutionAdd the Spring jar to your classpath. |