I moved some of the objects into my client package. But still I get
these strange messages:

[TRACE] Compiling Java source files in module 'kiretose.Index'
     [TRACE] Removing invalidated units
          [WARN] Compilation unit 'path/to/project/kiretose/src/
kiretose/client/forum/TopicWidget.java' is removed due to invalid
reference(s):
              [WARN] path/to/project/kiretose/src/kiretose/client/
TopicMetaInfo.java

Note that the TopicWidget is located in the client.forum package.
Another problem I encounter: If I try to create a custom Widget called
ForumWidget which is located in the client.forum package I get another
error message:

[TRACE] Finding entry point classes
     [ERROR] Unable to find type 'kiretose.client.Index'
           [ERROR] Hint: Previous compiler errors may have made this
type unavailable
           [ERROR] Hint: Check the inheritance chain from your module;
it may not be inheriting a required module or a module may not be
adding its source path entries properly
[ERROR] Failure to load module 'kiretose.Index'

I think there are some problems with the packages. But I do not
understand it because it is simply the same structured as I use in GWT
1.4. With the previous version I had absolutly no problems.



On 28 Sep., 12:45, Paul van Hoven <[EMAIL PROTECTED]>
wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to