blob: d74e46d24b505803bd62fa229e642bccb08dc8fc [file] [log] [blame]
<div class="wiki-content maincontent">
<p>If you get an exception like this</p>
<structured-macro ac:macro-id="5ca8d7d4-3666-4e2d-ace3-fd67fd052ca4" ac:name="code" ac:schema-version="1"><plain-text-body>
java.lang.NoClassDefFoundError - org/springframework/core/io/Resource
</plain-text-body></structured-macro>
<h3>Cause</h3>
<p>You were probably trying to use the <link><page ri:content-title="XML Configuration"></page></link> mechanism, which uses Spring, but without having the Spring jar on your classpath.</p>
<h3>Solution</h3>
<p>Add the Spring jar to your classpath.</p></div>