5 messages in org.codehaus.grails.userRe: [grails-user] Standalone GORM
FromSent OnAttachments
Lance Lavandowska at HomeMar 26, 2009 1:26 pm 
Dmitriy KopylenkoMar 27, 2009 3:29 am 
Graeme RocherMar 27, 2009 3:30 am 
Lance Lavandowska at HomeMar 27, 2009 5:20 am 
Lance LavandowskaMar 30, 2009 12:01 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [grails-user] Standalone GORMActions...
From:Lance Lavandowska at Home (lan@brainopolis.com)
Date:Mar 27, 2009 5:20:10 am
List:org.codehaus.grails.user

Adding the import did the trick, thank you so much for spotting that.

Could we get that little bit added to the release notes, in the standalone gorm section? <http://www.grails.org/1.1-RC1+Release+Notes#GORM>

Thanks again,

Lance

Graeme Rocher wrote:

The @Entity is not the javax.persistence one. You need to add this import:

import grails.persistence.*

Cheers

On Thu, Mar 26, 2009 at 8:27 PM, Lance Lavandowska at Home <lan@brainopolis.com> wrote:

I'm researching using Standalone GORM for a project. I've used the petclinic-mvc sample app as a guide (the project structure is a little different since I'm not building a webapp), even using the provided build.xml with minor changes (just source & build locations).

I can build the petclinic-mvc app without a problem, but when I try to build my one gorm class I get the following error:

[groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: star tup failed, C:\grails\grails-1.1\samples\gwarch\src\main\groovy\com\ibsys\wx\Tex tProduct.groovy: 3: unable to resolve class Entity , unable to find class for a nnotation [groovyc] @ line 3, column 2. [groovyc] @Entity [groovyc] ^

Any suggestions would be appreciated,