My project contains 2 source folder, one is generic J2EE application
another is smartCleintGWT,

I want to use some already existing DTO classes from first source
folder (src)
My GWT are in src_console.

I want to use DMXLicense class for client and server.
This class should come over RemoteService to the client and should use
it to extract required data.

DMXLicense is under com.ho.no.dmx.synch.server.model

I've created file model.gwt.xml in com.ho.no.dmx.synch.server package:

<module>
<source path='model'></source>
</module>

then I've added <inherits> into my GWT NoAdmin applciation xml file

<module rename-to="noadmin">
    <inherits name='com.google.gwt.user.User'/>
    <inherits name="com.smartgwtee.SmartGwtEE"/>
    <entry-point class='com.ho.no.client.NoAdmin'/>
    <source path='client'/>
        <source path='shared'/>
        <inherits name="com.ho.dmx.synch.server.model"/>
        <servlet path="/NoService" class="com.ho.no.server.NoRPCImpl"/>
</module>


But when I try to compile it - I'm getting:


Compiling module com.ho.no.NoAdmin
   Scanning for additional dependencies: file:/C:/..Projects/NoAdmin/Ho
%20DMX%20Console/src_console/com/ho/no/client/view/DashboardView.java
      Computing all possible rebind results for
'com.ho.no.client.NoRPC'
         Rebinding com.ho.no.client.NoRPC
            Invoking
com.google.gwt.dev.javac.standardgeneratorcont...@1b65b7f
               Generating client proxy for remote service interface
'com.ho.no.client.NoRPC'
                  [ERROR] com.ho.dmx.synch.server.model.DMXLicense is
not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' or
'java.io.Serializable' nor does it have a custom field serializer
(reached via com.ho.dmx.synch.server.model.DMXLicense)
                  [ERROR] com.ho.dmx.synch.server.model.DMXLicense has
no available instantiable subtypes. (reached via
com.ho.dmx.synch.server.model.DMXLicense)
                     [ERROR]    subtype
com.ho.dmx.synch.server.model.DMXLicense is not assignable to
'com.google.gwt.user.client.rpc.IsSerializable' or
'java.io.Serializable' nor does it have a custom field serializer
(reached via com.ho.dmx.synch.server.model.DMXLicense)
   [ERROR] Errors in 'file:/C:/..Projects/NoAdmin/Ho%20DMX%20Console/
src_console/com/ho/no/client/view/DashboardView.java'
      [ERROR] Line 81:  Failed to resolve 'com.ho.no.client.NoRPC' via
deferred binding
   Scanning for additional dependencies: jar:file:/C:/..Projects/.libs/
all/smartgwt.jar!/com/smartgwt/client/util/I18nUtil.java
      [WARN] The following resources will not be created because they
were never committed (did you forget to call commit()?)
         [WARN] C:\Users\MLYTVY~1\AppData\Local\Temp
\gwtc4733475552106072888.tmp\com.ho.no.NoAdmin\compiler
\com.ho.no.client.NoRPC.rpc.log
      [WARN] For the following type(s), generated source was never
committed (did you forget to call commit()?)
         [WARN] com.ho.no.client.NoRPC_Proxy
   [ERROR] Cannot proceed due to previous errors

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to