title: JAVA calsses used in grails as objects
body: <p>Hi I have added my java classes to the </p>
  
  <pre><code> projectName/src/java/MyClass.java
  </code></pre>
  
  <p>but i create an object in a service I have tried the following:</p>
  
  <pre><code>  def server = new MyClass();
  
    MyClass server = new MyClass();
  </code></pre>
  
  <p>The service cannot see the java class. Is there something more i need to do?</p>