blob: 04e6a415b9d7d482e6037b5717c6fad373d31aca [file] [log] [blame]
<div class="wiki-content maincontent">
<p>If you get an exception like this</p>
<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<pre class="brush: java; gutter: false; theme: Default" style="font-size:12px;">
java.lang.NoClassDefFoundError - org/springframework/core/io/Resource
</pre>
</div></div>
<h3 id="NoClassDefFoundError-org.springframework.core.io.Resource-Cause">Cause</h3>
<p>You were probably trying to use the <a shape="rect" href="xml-configuration.html">XML Configuration</a> mechanism, which uses Spring, but without having the Spring jar on your classpath.</p>
<h3 id="NoClassDefFoundError-org.springframework.core.io.Resource-Solution">Solution</h3>
<p>Add the Spring jar to your classpath.</p></div>