Quantcast

Gwt and Grails

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Gwt and Grails

Luca Farsetti
Hello all, i'm trying to create a simple crud with gwt ui. I use gwt plugin and i created the ui with no problem.

All my gwt class and modules are under src/gwt and my Services for RPC comunication are under src/java.
Beans are under src/gwt and the problem start: if i define service like this

public interface SportelloServiceAsync {

public void listaCausali(AsyncCallback<PagingLoadResult<Causale>> callback);
}

i have this error:

  [groovyc] Compile error during compilation with javac.
  [groovyc] /home/sviluppo/Documents/workspace-sts/NOME/src/java/it/flex/client/services/sportello/SportelloService.java:4: package it.flex.client.bean does not exist
  [groovyc] import it.flex.client.bean.Causale;

i understand the problem but how can i fix this?

Thank you all (my apology for my bad english)

Luca

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Gwt and Grails

Robert La Ferla
Ciao Luca.

You need to put your beans and service interfaces under src/java.  In Eclipse, make sure your Java Build Path->Source includes src/java.  Are you not using Groovy domain classes and GORM?  You should.

Robert

Sent from my iPad 2

On May 17, 2011, at 10:34 AM, Luca Farsetti <[hidden email]> wrote:

> Hello all, i'm trying to create a simple crud with gwt ui. I use gwt plugin and i created the ui with no problem.
>
> All my gwt class and modules are under src/gwt and my Services for RPC comunication are under src/java.
> Beans are under src/gwt and the problem start: if i define service like this
>
> public interface SportelloServiceAsync {
>
> public void listaCausali(AsyncCallback<PagingLoadResult<Causale>> callback);
> }
>
> i have this error:
>
>   [groovyc] Compile error during compilation with javac.
>   [groovyc] /home/sviluppo/Documents/workspace-sts/NOME/src/java/it/flex/client/services/sportello/SportelloService.java:4: package it.flex.client.bean does not exist
>   [groovyc] import it.flex.client.bean.Causale;
>
> i understand the problem but how can i fix this?
>
> Thank you all (my apology for my bad english)
>
> Luca
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Gwt and Grails

Luca Farsetti
Yes, i use Groovy domain and GORM. I Use dto plugin for data transfer object and i have my dto beans and service interfaces under src/java and it's included to JavaBuildPath -> Source.

However, i'm not still able to compile my project. I follow this tutorial http://www.lazywithclass.com/code/4/gwt-on-grails-(1)/. The only difference is that i use gxt library.


the error is

Compiling module it.ubik.moneytraker.Contabilita
     [java]    Validating newly compiled units
     [java]       [ERROR] Errors in 'file:/C:/Users/mariella/Documents/workspace-sts/MoneyTracker/src/gwt/it/ubik/moneytraker/client/Contabilita.java'
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileServiceAsync; did you forget to inherit a required module?
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileService; did you forget to inherit a required module?
     [java]          [ERROR] Line 29: No source code is available for type it.ubik.moneytracker.RigaRegistroContabileDTO; did you forget to inherit a required module?


2011/5/17 Robert La Ferla <[hidden email]>
Ciao Luca.

You need to put your beans and service interfaces under src/java.  In Eclipse, make sure your Java Build Path->Source includes src/java.  Are you not using Groovy domain classes and GORM?  You should.

Robert

Sent from my iPad 2

On May 17, 2011, at 10:34 AM, Luca Farsetti <[hidden email]> wrote:

> Hello all, i'm trying to create a simple crud with gwt ui. I use gwt plugin and i created the ui with no problem.
>
> All my gwt class and modules are under src/gwt and my Services for RPC comunication are under src/java.
> Beans are under src/gwt and the problem start: if i define service like this
>
> public interface SportelloServiceAsync {
>
>       public void listaCausali(AsyncCallback<PagingLoadResult<Causale>> callback);
> }
>
> i have this error:
>
>   [groovyc] Compile error during compilation with javac.
>   [groovyc] /home/sviluppo/Documents/workspace-sts/NOME/src/java/it/flex/client/services/sportello/SportelloService.java:4: package it.flex.client.bean does not exist
>   [groovyc] import it.flex.client.bean.Causale;
>
> i understand the problem but how can i fix this?
>
> Thank you all (my apology for my bad english)
>
> Luca
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Gwt and Grails

Luca Farsetti
Solved! i was implements wrong interface in my dto bean...so stupid mistake.

Anyway, at this moment i'm unable to compile and i receive this error

 No source code is available for type grails.plugins.dto.DTO; did you forget to inherit a required module?

my dto bean is

import grails.plugins.dto.DTO;

import java.math.BigDecimal;

import com.google.gwt.user.client.rpc.IsSerializable;

public class RigaRegistroContabileDTO implements DTO, IsSerializable {
...
}


How can i solve the problem?

2011/5/18 Luca Farsetti <[hidden email]>
Yes, i use Groovy domain and GORM. I Use dto plugin for data transfer object and i have my dto beans and service interfaces under src/java and it's included to JavaBuildPath -> Source.

However, i'm not still able to compile my project. I follow this tutorial http://www.lazywithclass.com/code/4/gwt-on-grails-(1)/. The only difference is that i use gxt library.


the error is

Compiling module it.ubik.moneytraker.Contabilita
     [java]    Validating newly compiled units
     [java]       [ERROR] Errors in 'file:/C:/Users/mariella/Documents/workspace-sts/MoneyTracker/src/gwt/it/ubik/moneytraker/client/Contabilita.java'
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileServiceAsync; did you forget to inherit a required module?
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileService; did you forget to inherit a required module?
     [java]          [ERROR] Line 29: No source code is available for type it.ubik.moneytracker.RigaRegistroContabileDTO; did you forget to inherit a required module?


2011/5/17 Robert La Ferla <[hidden email]>
Ciao Luca.

You need to put your beans and service interfaces under src/java.  In Eclipse, make sure your Java Build Path->Source includes src/java.  Are you not using Groovy domain classes and GORM?  You should.

Robert

Sent from my iPad 2

On May 17, 2011, at 10:34 AM, Luca Farsetti <[hidden email]> wrote:

> Hello all, i'm trying to create a simple crud with gwt ui. I use gwt plugin and i created the ui with no problem.
>
> All my gwt class and modules are under src/gwt and my Services for RPC comunication are under src/java.
> Beans are under src/gwt and the problem start: if i define service like this
>
> public interface SportelloServiceAsync {
>
>       public void listaCausali(AsyncCallback<PagingLoadResult<Causale>> callback);
> }
>
> i have this error:
>
>   [groovyc] Compile error during compilation with javac.
>   [groovyc] /home/sviluppo/Documents/workspace-sts/NOME/src/java/it/flex/client/services/sportello/SportelloService.java:4: package it.flex.client.bean does not exist
>   [groovyc] import it.flex.client.bean.Causale;
>
> i understand the problem but how can i fix this?
>
> Thank you all (my apology for my bad english)
>
> Luca
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Gwt and Grails

Robert La Ferla
In reply to this post by Luca Farsetti
In your .gwt.xml file, you need

<source path='yoursrcpath'/>
...

where yoursrcpath is the path to your code.  You can have multiple source elements for different paths. 

Robert

Sent from my iPad 2

On May 18, 2011, at 5:06 AM, Luca Farsetti <[hidden email]> wrote:

Yes, i use Groovy domain and GORM. I Use dto plugin for data transfer object and i have my dto beans and service interfaces under src/java and it's included to JavaBuildPath -> Source.

However, i'm not still able to compile my project. I follow this tutorial http://www.lazywithclass.com/code/4/gwt-on-grails-(1)/. The only difference is that i use gxt library.


the error is

Compiling module it.ubik.moneytraker.Contabilita
     [java]    Validating newly compiled units
     [java]       [ERROR] Errors in 'file:/C:/Users/mariella/Documents/workspace-sts/MoneyTracker/src/gwt/it/ubik/moneytraker/client/Contabilita.java'
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileServiceAsync; did you forget to inherit a required module?
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileService; did you forget to inherit a required module?
     [java]          [ERROR] Line 29: No source code is available for type it.ubik.moneytracker.RigaRegistroContabileDTO; did you forget to inherit a required module?


2011/5/17 Robert La Ferla <[hidden email]>
Ciao Luca.

You need to put your beans and service interfaces under src/java.  In Eclipse, make sure your Java Build Path->Source includes src/java.  Are you not using Groovy domain classes and GORM?  You should.

Robert

Sent from my iPad 2

On May 17, 2011, at 10:34 AM, Luca Farsetti <[hidden email]> wrote:

> Hello all, i'm trying to create a simple crud with gwt ui. I use gwt plugin and i created the ui with no problem.
>
> All my gwt class and modules are under src/gwt and my Services for RPC comunication are under src/java.
> Beans are under src/gwt and the problem start: if i define service like this
>
> public interface SportelloServiceAsync {
>
>       public void listaCausali(AsyncCallback<PagingLoadResult<Causale>> callback);
> }
>
> i have this error:
>
>   [groovyc] Compile error during compilation with javac.
>   [groovyc] /home/sviluppo/Documents/workspace-sts/NOME/src/java/it/flex/client/services/sportello/SportelloService.java:4: package it.flex.client.bean does not exist
>   [groovyc] import it.flex.client.bean.Causale;
>
> i understand the problem but how can i fix this?
>
> Thank you all (my apology for my bad english)
>
> Luca
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Gwt and Grails

Luca Farsetti
thanks Robert, but the problem was a mistake on "Serialize" interface..

Do you know how to use dto plugin with gwt? i have this error:

00:09:26,412  [ERROR] Line 7: No source code is available for type grails.plugins.dto.DTO; did you forget to inherit a required module?

Thank you again

Luca

2011/5/18 Robert La Ferla <[hidden email]>
In your .gwt.xml file, you need

<source path='yoursrcpath'/>
...

where yoursrcpath is the path to your code.  You can have multiple source elements for different paths. 

Robert

Sent from my iPad 2

On May 18, 2011, at 5:06 AM, Luca Farsetti <[hidden email]> wrote:

Yes, i use Groovy domain and GORM. I Use dto plugin for data transfer object and i have my dto beans and service interfaces under src/java and it's included to JavaBuildPath -> Source.

However, i'm not still able to compile my project. I follow this tutorial http://www.lazywithclass.com/code/4/gwt-on-grails-(1)/. The only difference is that i use gxt library.


the error is

Compiling module it.ubik.moneytraker.Contabilita
     [java]    Validating newly compiled units
     [java]       [ERROR] Errors in 'file:/C:/Users/mariella/Documents/workspace-sts/MoneyTracker/src/gwt/it/ubik/moneytraker/client/Contabilita.java'
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileServiceAsync; did you forget to inherit a required module?
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileService; did you forget to inherit a required module?
     [java]          [ERROR] Line 29: No source code is available for type it.ubik.moneytracker.RigaRegistroContabileDTO; did you forget to inherit a required module?


2011/5/17 Robert La Ferla <[hidden email][hidden email]>
Ciao Luca.

You need to put your beans and service interfaces under src/java.  In Eclipse, make sure your Java Build Path->Source includes src/java.  Are you not using Groovy domain classes and GORM?  You should.

Robert

Sent from my iPad 2

On May 17, 2011, at 10:34 AM, Luca Farsetti <[hidden email][hidden email]> wrote:

> Hello all, i'm trying to create a simple crud with gwt ui. I use gwt plugin and i created the ui with no problem.
>
> All my gwt class and modules are under src/gwt and my Services for RPC comunication are under src/java.
> Beans are under src/gwt and the problem start: if i define service like this
>
> public interface SportelloServiceAsync {
>
>       public void listaCausali(AsyncCallback<PagingLoadResult<Causale>> callback);
> }
>
> i have this error:
>
>   [groovyc] Compile error during compilation with javac.
>   [groovyc] /home/sviluppo/Documents/workspace-sts/NOME/src/java/it/flex/client/services/sportello/SportelloService.java:4: package it.flex.client.bean does not exist
>   [groovyc] import it.flex.client.bean.Causale;
>
> i understand the problem but how can i fix this?
>
> Thank you all (my apology for my bad english)
>
> Luca
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Gwt and Grails

Robert La Ferla
I haven't used that plugin. Can you send me a link to it?  If you look at the error message, it says that you may need to inherit a required module. DTOs need to be accessed by both the Javascript client AND the backend server. Therefore the GWT compiler needs to compile your DTOs and any superclasses or related utility classes for it to work. Check the source path as I indicated in my other message. 

Robert

Sent from my iPhone 4

On May 18, 2011, at 10:10 AM, Luca Farsetti <[hidden email]> wrote:

thanks Robert, but the problem was a mistake on "Serialize" interface..

Do you know how to use dto plugin with gwt? i have this error:

00:09:26,412  [ERROR] Line 7: No source code is available for type grails.plugins.dto.DTO; did you forget to inherit a required module?

Thank you again

Luca

2011/5/18 Robert La Ferla <[hidden email]>
In your .gwt.xml file, you need

<source path='yoursrcpath'/>
...

where yoursrcpath is the path to your code.  You can have multiple source elements for different paths. 

Robert

Sent from my iPad 2

On May 18, 2011, at 5:06 AM, Luca Farsetti <[hidden email]> wrote:

Yes, i use Groovy domain and GORM. I Use dto plugin for data transfer object and i have my dto beans and service interfaces under src/java and it's included to JavaBuildPath -> Source.

However, i'm not still able to compile my project. I follow this tutorial http://www.lazywithclass.com/code/4/gwt-on-grails-(1)/. The only difference is that i use gxt library.


the error is

Compiling module it.ubik.moneytraker.Contabilita
     [java]    Validating newly compiled units
     [java]       [ERROR] Errors in 'file:/C:/Users/mariella/Documents/workspace-sts/MoneyTracker/src/gwt/it/ubik/moneytraker/client/Contabilita.java'
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileServiceAsync; did you forget to inherit a required module?
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileService; did you forget to inherit a required module?
     [java]          [ERROR] Line 29: No source code is available for type it.ubik.moneytracker.RigaRegistroContabileDTO; did you forget to inherit a required module?


2011/5/17 Robert La Ferla <[hidden email][hidden email]>
Ciao Luca.

You need to put your beans and service interfaces under src/java.  In Eclipse, make sure your Java Build Path->Source includes src/java.  Are you not using Groovy domain classes and GORM?  You should.

Robert

Sent from my iPad 2

On May 17, 2011, at 10:34 AM, Luca Farsetti <[hidden email][hidden email]> wrote:

> Hello all, i'm trying to create a simple crud with gwt ui. I use gwt plugin and i created the ui with no problem.
>
> All my gwt class and modules are under src/gwt and my Services for RPC comunication are under src/java.
> Beans are under src/gwt and the problem start: if i define service like this
>
> public interface SportelloServiceAsync {
>
>       public void listaCausali(AsyncCallback<PagingLoadResult<Causale>> callback);
> }
>
> i have this error:
>
>   [groovyc] Compile error during compilation with javac.
>   [groovyc] /home/sviluppo/Documents/workspace-sts/NOME/src/java/it/flex/client/services/sportello/SportelloService.java:4: package it.flex.client.bean does not exist
>   [groovyc] import it.flex.client.bean.Causale;
>
> i understand the problem but how can i fix this?
>
> Thank you all (my apology for my bad english)
>
> Luca
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Gwt and Grails

johnrellis
In reply to this post by Luca Farsetti
Do  you need to inherit the module in your MyModule.gwt.xml file

<inherits name="path to dto plugin .gwt.xml"/>

????

Just off the top of my head.

On Wed, May 18, 2011 at 3:10 PM, Luca Farsetti <[hidden email]> wrote:
thanks Robert, but the problem was a mistake on "Serialize" interface..

Do you know how to use dto plugin with gwt? i have this error:

00:09:26,412  [ERROR] Line 7: No source code is available for type grails.plugins.dto.DTO; did you forget to inherit a required module?

Thank you again

Luca

2011/5/18 Robert La Ferla <[hidden email]>
In your .gwt.xml file, you need

<source path='yoursrcpath'/>
...

where yoursrcpath is the path to your code.  You can have multiple source elements for different paths. 

Robert

Sent from my iPad 2

On May 18, 2011, at 5:06 AM, Luca Farsetti <[hidden email]> wrote:

Yes, i use Groovy domain and GORM. I Use dto plugin for data transfer object and i have my dto beans and service interfaces under src/java and it's included to JavaBuildPath -> Source.

However, i'm not still able to compile my project. I follow this tutorial <span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000);" onmouseover="WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:-1,&#39;weight&#39;:-1},&#39;flags&#39;:{},&#39;ttl&#39;:3600,&#39;expireTime&#39;:&#39;20110518164943&#39;}, this.className);" class="wrc0" style="padding-right: 16px; width: 16px; height: 16px;">http://www.lazywithclass.com/code/4/gwt-on-grails-(1)/<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000);" onmouseover="WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:-1,&#39;weight&#39;:-1},&#39;flags&#39;:{},&#39;ttl&#39;:3600,&#39;expireTime&#39;:&#39;20110518164943&#39;}, this.className);" class="wrc0" style="padding-right: 16px; width: 16px; height: 16px;">. The only difference is that i use gxt library.


the error is

Compiling module it.ubik.moneytraker.Contabilita
     [java]    Validating newly compiled units
     [java]       [ERROR] Errors in 'file:/C:/Users/mariella/Documents/workspace-sts/MoneyTracker/src/gwt/it/ubik/moneytraker/client/Contabilita.java'
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileServiceAsync; did you forget to inherit a required module?
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileService; did you forget to inherit a required module?
     [java]          [ERROR] Line 29: No source code is available for type it.ubik.moneytracker.RigaRegistroContabileDTO; did you forget to inherit a required module?


2011/5/17 Robert La Ferla <[hidden email][hidden email]>
Ciao Luca.

You need to put your beans and service interfaces under src/java.  In Eclipse, make sure your Java Build Path->Source includes src/java.  Are you not using Groovy domain classes and GORM?  You should.

Robert

Sent from my iPad 2

On May 17, 2011, at 10:34 AM, Luca Farsetti <[hidden email][hidden email]> wrote:

> Hello all, i'm trying to create a simple crud with gwt ui. I use gwt plugin and i created the ui with no problem.
>
> All my gwt class and modules are under src/gwt and my Services for RPC comunication are under src/java.
> Beans are under src/gwt and the problem start: if i define service like this
>
> public interface SportelloServiceAsync {
>
>       public void listaCausali(AsyncCallback<PagingLoadResult<Causale>> callback);
> }
>
> i have this error:
>
>   [groovyc] Compile error during compilation with javac.
>   [groovyc] /home/sviluppo/Documents/workspace-sts/NOME/src/java/it/flex/client/services/sportello/SportelloService.java:4: package it.flex.client.bean does not exist
>   [groovyc] import it.flex.client.bean.Causale;
>
> i understand the problem but how can i fix this?
>
> Thank you all (my apology for my bad english)
>
> Luca
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   <span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000);" onmouseover="WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:-1,&#39;weight&#39;:-1},&#39;flags&#39;:{},&#39;ttl&#39;:3600,&#39;expireTime&#39;:&#39;20110518164943&#39;}, this.className);" class="wrc0" style="padding-right: 16px; width: 16px; height: 16px;">http://xircles.codehaus.org/manage_email<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000);" onmouseover="WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:-1,&#39;weight&#39;:-1},&#39;flags&#39;:{},&#39;ttl&#39;:3600,&#39;expireTime&#39;:&#39;20110518164943&#39;}, this.className);" class="wrc0" style="padding-right: 16px; width: 16px; height: 16px;">







--
John Rellis
@johnrellis
johnrellis.blogspot.com<span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000);" onmouseover="WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:95,&#39;weight&#39;:15},&#39;flags&#39;:{},&#39;ttl&#39;:3600,&#39;expireTime&#39;:&#39;20110518165427&#39;}, this.className);" class="wrc11" style="padding-right: 16px; width: 16px; height: 16px;">

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Gwt and Grails

Luca Farsetti
this is the plugin http://www.grails.org/plugin/dto

2011/5/18 John Rellis <[hidden email]>
Do  you need to inherit the module in your MyModule.gwt.xml file

<inherits name="path to dto plugin .gwt.xml"/>

????

Just off the top of my head.


On Wed, May 18, 2011 at 3:10 PM, Luca Farsetti <[hidden email]> wrote:
thanks Robert, but the problem was a mistake on "Serialize" interface..

Do you know how to use dto plugin with gwt? i have this error:

00:09:26,412  [ERROR] Line 7: No source code is available for type grails.plugins.dto.DTO; did you forget to inherit a required module?

Thank you again

Luca

2011/5/18 Robert La Ferla <[hidden email]>
In your .gwt.xml file, you need

<source path='yoursrcpath'/>
...

where yoursrcpath is the path to your code.  You can have multiple source elements for different paths. 

Robert

Sent from my iPad 2

On May 18, 2011, at 5:06 AM, Luca Farsetti <[hidden email]> wrote:

Yes, i use Groovy domain and GORM. I Use dto plugin for data transfer object and i have my dto beans and service interfaces under src/java and it's included to JavaBuildPath -> Source.

However, i'm not still able to compile my project. I follow this tutorial http://www.lazywithclass.com/code/4/gwt-on-grails-(1)/. The only difference is that i use gxt library.


the error is

Compiling module it.ubik.moneytraker.Contabilita
     [java]    Validating newly compiled units
     [java]       [ERROR] Errors in 'file:/C:/Users/mariella/Documents/workspace-sts/MoneyTracker/src/gwt/it/ubik/moneytraker/client/Contabilita.java'
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileServiceAsync; did you forget to inherit a required module?
     [java]          [ERROR] Line 27: No source code is available for type it.ubik.moneytracker.contabilita.RegistroContabileService; did you forget to inherit a required module?
     [java]          [ERROR] Line 29: No source code is available for type it.ubik.moneytracker.RigaRegistroContabileDTO; did you forget to inherit a required module?


2011/5/17 Robert La Ferla <[hidden email][hidden email]>
Ciao Luca.

You need to put your beans and service interfaces under src/java.  In Eclipse, make sure your Java Build Path->Source includes src/java.  Are you not using Groovy domain classes and GORM?  You should.

Robert

Sent from my iPad 2

On May 17, 2011, at 10:34 AM, Luca Farsetti <[hidden email][hidden email]> wrote:

> Hello all, i'm trying to create a simple crud with gwt ui. I use gwt plugin and i created the ui with no problem.
>
> All my gwt class and modules are under src/gwt and my Services for RPC comunication are under src/java.
> Beans are under src/gwt and the problem start: if i define service like this
>
> public interface SportelloServiceAsync {
>
>       public void listaCausali(AsyncCallback<PagingLoadResult<Causale>> callback);
> }
>
> i have this error:
>
>   [groovyc] Compile error during compilation with javac.
>   [groovyc] /home/sviluppo/Documents/workspace-sts/NOME/src/java/it/flex/client/services/sportello/SportelloService.java:4: package it.flex.client.bean does not exist
>   [groovyc] import it.flex.client.bean.Causale;
>
> i understand the problem but how can i fix this?
>
> Thank you all (my apology for my bad english)
>
> Luca
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email







--
John Rellis
@johnrellis


Loading...