title: Intellij exporting WAR file with JAR library
body: <p>I have a project in <code>Intellij IDEA 11.1.3</code> which works and is totally awesome. However, now I want to export it to a WAR-file so I went <code>Module-&gt;Grails-&gt;run target-&gt;&lt;test war&gt;</code> and it builds the war. Yeah, that's awesome. However when I use the application, it can't find my JAR library which it can when using it locally.</p>
  
  <p>Do I need to do anything specific to use the classes within that JAR, like adding it to build path? If so, how do I do it? I really need to deploy my project to our test server.</p>
  
  <p>Thanks for your sage advice and better wisdom.</p>
  
  <p><strong>EDIT:</strong> the library is in the lib directory and I've added the whole directory as a library to the module.</p>