Could you (or somebody) be more specific about this?. I can't run the
project in hosted mode, I get the following error:
java.lang.IllegalStateException: No such servlet: GwtLoginService
The service is in another project and it looks like it isn't started
when starting the main project. I have ticked the GwtLogin in
Eclipse's Project References of the main project. Also, I have added
this to the "web.xml" of the main project:
<servlet>
<servlet-name>gwtLoginServiceImpl</servlet-name>
<servlet-class>x.gwtlogin.server.GwtLoginServiceImpl</servlet-
class>
</servlet>
<servlet-mapping>
<servlet-name>GwtLoginService</servlet-name>
<url-pattern>/gwtlogin/GwtLoginService</url-pattern>
</servlet-mapping>
I have copied the module from GwtLogin to the main project, excluding
the server implementation.
Thank you,
Ivan
> >> So, this is what I have tried and I get errors when Istartup the app
> >> that it can not find the source of the classes from my server
> >> project. Any ideas?
>
> >> Thanks
>
> >> Joe
>
> >> On Apr 17, 4:13 am, Salvador Diaz <
diaz.salva...@gmail.com> wrote:
> >>> Add the other project to the classpath instead of adding the jar
>
> >>> On Apr 17, 7:10 am, Joe Hudson <
joe...@gmail.com> wrote:
>
> >>> > Hi,
>
> >>> > I have a separate eclipse project containing code used on the server-
> >>> > side of the RPC. When I use the google plugin to recompile my GWT
> >>> > app, I get the error messages saying that the source code can't be
> >>> > found. I can get this to work by exporting the project to a jar (with
> >>> > source) and referencing the jar (as opposed to the project directly)
> >>> > in the classpath of the GWT project.
>
> >>> > This is do-able but I would really like to know if this is possible
> >>> > and if there is anything special that has to be done for the plugin to
> >>> > recognize the source from another project.
>
> >>> > I am pretty sure that the plugin sees the classpath as it is not
> >>> > giving an error that the imported gwt.xml file can not be found.
>
> >>> > Thank you very much for any help you might have to offer.
>
> >>> > Joe- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -