Thanks for the answer. How do I tell GWT to also look into the
server.universal package by default?
On 28 Sep., 11:27, Thomas Broyer <[EMAIL PROTECTED]> wrote:
> On 28 sep, 11:01, Paul van Hoven <[EMAIL PROTECTED]>
> wrote:
>
>
>
>
>
> > I created some objects:
> > package kiretose.server.universal;
>
> > import com.google.gwt.user.client.rpc.IsSerializable;
>
> > @javax.persistence.Entity
> > @javax.persistence.Table( name="ForumTopics" )
> > public class TopicMetaInfo implements IsSerializable {
> > ...here come Constructors, variables, setter/getter
>
> > Note that the annotations refer to Hibernate.
> > The object acutally is fine. I have some other objects that are quite
> > similar. They also implement IsSerializable.
>
> > Now when I try to run my app I get some error messages that are not
> > plausible to me:
>
> > [TRACE] Compiling Java source files in module 'kiretose.Index'
> > [TRACE] Removing units with errors
> > [ERROR] Errors in 'path/to/project/kiretose/src/kiretose/client/
> > forum/TopicWidget.java'
> > [ERROR] Line 12: No source code is available for type
> > kiretose.server.universal.TopicMetaInfo; did you forget to inherit a
> > required module?
>
> > If I look into TopicWidget.java
>
> > public class TopicWidget extends SimplePanel implements
> > AsyncCallback<Object>,ClickListener {
> > TopicMetaInfo[] topicMetaInfos; //this is line 12
>
> > I get a whole bunch of error message of this type that I am not able
> > to understand. My app actually runs without problems. Maybee somebody
> > knows what is going on here?
>
> Your TopicMetaInfo is in a ".server.*" package; GWT looks at <client/>
> packages only (defaulting to ....client.* when not specified); that
> might be why it doesn't find TopicMetaInfo's source code.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---