Pascal DeMilly schrieb:
> I am trying to use Hibernate annotation in a groovy script but I am getting
> anerror
>
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
> failed, crs/business/cashreg/CashRegTill.groovy: 8: unexpected token: class @
> line 8, column 1.
> class CashRegTill {
>
> The groovy file is:
> package crs.business.cashreg;
>
> import javax.persistence.Entity
> import javax.persistence.Table
>
> @Entity
> @Table(name="CashRegTills")
> class CashRegTill {
> }
>
> I am using Groovy Version: 1.0.1-SNAPSHOT JVM: 1.5.0_08-b03 from yesterday.
>
> What am I missing?
are you absolutly sure? The parser walks through here. please update
again, clean the build, rebuild and try again
bye blackdag
--
Jochen "blackdrag" Theodorou
Groovy Tech Lead (
http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email