title: compile groovy class using groovyc : multiplecompliationErrorException
body: <p>the following is a simple class I want to compile using groovyc. it always gives me "multiplecompliationErrorException".</p>
  
  <p>could some one kindly help me out?</p>
  
  <p>thanks.</p>
  
  <pre><code>import groovy.sql.Sql
  
  class TestDb{
  
  def sql = Sql.newInstance("jdbc:postgresql://localhost:5432/mydb",
      "user", "password", "org.postgresql.Driver")
  
  // delete table if previously created 
  try {    sql.execute("drop table if exists PERSON") 
  } catch(Exception e){}
  
  // create table sql.execute('''create table PERSON (
      id integer not null primary key,
      firstname varchar(20),
      lastname varchar(20),
      location_id integer,
      location_name varchar(30) )''')
  
  }
  </code></pre>