title: How to use or reference a Java project from a Grails project?
body: <p>I have a grails project that works normally. Lately, our team decided to put an extra feature in the app that was already implemented in a Java standalone app of our own. "So", I thought, "I only need to reference the standalone Java project in my workspace". So I did that - referenced my Java project from the Grails one and called the service from a Groovy class located in src/groovy. When I tried to run the web project I got a compilation error:   </p>
  
  <pre><code>Error Compilation error: startup failed: 
  unable to resolve class com.CycleManager
  </code></pre>
  
  <p>And it says that the error is the import line for the CycleManager class.</p>
  
  <p>Why can't groovy find the referenced project? What am I doing wrong?</p>
  
  <p>Thanks.</p>