vraptor no gae

24 views
Skip to first unread message

Gustavo Henrique Lima Pinto

unread,
Apr 3, 2011, 10:26:48 PM4/3/11
to caelum-vr...@googlegroups.com
pessoal, 

to tendo um problema pra levantar minha app no gae usando vraptor, mas acredito, que no fundo, o problema é com o jdo.

quando eu chego no @Path("/"), recebo essa exp. na cara.

br.com.caelum.vraptor.InterceptionException: exception raised, check root cause for details: javax.jdo.JDOUserException: Persistent class "Class br.com.blablabla.model.Promocao does not seem to have been enhanced.  You may want to rerun the enhancer and check for errors in the output." has no table in the database, but the operation requires it. Please check the specification of the MetaData for this class.
NestedThrowables:
org.datanucleus.store.exceptions.NoTableManagedException: Persistent class "Class br.com.blablabla.model.Promocao does not seem to have been enhanced.  You may want to rerun the enhancer and check for errors in the output." has no table in the database, but the operation requires it. Please check the specification of the MetaData for this class.
at br.com.caelum.vraptor.interceptor.ExecuteMethodInterceptor.intercept(ExecuteMethodInterceptor.java:96)
...

alguem tem alguma dica?

abs.

Lucas Cavalcanti

unread,
Apr 3, 2011, 11:45:54 PM4/3/11
to caelum-vr...@googlegroups.com, Gustavo Henrique Lima Pinto
vc tem que fazer o enhance dos seus modelos, em compile time, se vc for usar o jdo

--
You received this message because you are subscribed to the Google Groups "caelum-vraptor-dev" group.
To post to this group, send email to caelum-vr...@googlegroups.com.
To unsubscribe from this group, send email to caelum-vraptor-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/caelum-vraptor-dev?hl=en.

Gustavo Henrique Lima Pinto

unread,
Apr 4, 2011, 12:35:06 PM4/4/11
to Lucas Cavalcanti, caelum-vr...@googlegroups.com
pois é.. já estava fazendo. mas, nao estava sendo automatico pelo eclipse.

li e um post, que aconselhou remover o datanucleus-appengine-XXX.final. e funcionou.

abs
Reply all
Reply to author
Forward
0 new messages