Wednesday, June 23, 2010

Re: compile problems with GWT 2.1

When I run bikeshed, I got the following error. I can not fix this
problems by following Eclipse.readme and turorials from DataNucleus.
Can somebody kindly provide the working bikeshed source code in
Eclipse project so I can learn GWT 2.1 without wasting my time on
DataNucleus. I appreciate your kindness.

Found Meta-Data for class
com.google.gwt.sample.expenses.server.domain.Expense but this class is
not enhanced!! Please enhance the class before running DataNucleus.
org.datanucleus.exceptions.NucleusUserException: Found Meta-Data for
class com.google.gwt.sample.expenses.server.domain.Expense but this
class is not enhanced!! Please enhance the class before running
DataNucleus.
at
org.datanucleus.metadata.MetaDataManager.initialiseClassMetaData(MetaDataManager.java:
2225)
at
org.datanucleus.metadata.MetaDataManager.initialiseFileMetaData(MetaDataManager.java:
2176)
at
org.datanucleus.metadata.MetaDataManager.initialiseFileMetaDataForUse(MetaDataManager.java:
881)
at
org.datanucleus.metadata.MetaDataManager.loadPersistenceUnit(MetaDataManager.java:
794)
at
org.datanucleus.jpa.EntityManagerFactoryImpl.initialisePMF(EntityManagerFactoryImpl.java:
488)
at
org.datanucleus.jpa.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:
355)

On Jun 23, 6:13 am, KenJi_getpowered <mikael.k...@gmail.com> wrote:
> Thanks BlessedGeek,
>
> It works perfectly with that line   <inherits
> name='com.google.gwt.requestfactory.RequestFactory'/>
>
> My app is totally functionnal and I was even able to add the new Data
> Presentation Widget.
>
> FYI: Correction is not yet included in the GWT 2.1 M1 version
>
> On 25 mai, 15:34, Thomas Broyer <t.bro...@gmail.com> wrote:
>
>
>
> > On 24 mai, 01:53, Blessed Geek <blessedg...@gmail.com> wrote:
>
> > > I went into bikeshed jar in gwt2.1m1 plugin directory in eclipse and
> > > edited ValueStore.gwt.xml to insert the line
>
> > >   <inherits name='com.google.gwt.requestfactory.RequestFactory'/>.
>
> > > After which, GWT copiulation proceeded without error and my
> > > application ran without error or interference from bikeshed demo.
>
> > > The question remains, why is the bikeshed app included in my app when
> > > I enabled GWT 2.1M1.
>
> > Because there's a com.google.gwt.user.User "override" in gwt-bikeshed
> > that adds a dependency (<inherits/>) on app.App.
> > This is now fixed:http://code.google.com/p/google-web-toolkit/source/detail?r=8203
>
> > --
> > You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.

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

No comments:

Post a Comment