So, I moved everything from my servlet project to the GWT project;
then I modified my project xml file adding the required <servlet ../>
tags.
Now, when I start host mode, I get this error.
[ERROR] Failure to load module 'it.lixper.lixperlicence.LixperLicence'
java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.kind()I
at
com.google.gwt.dev.jdt.TypeOracleBuilder.isInterface(TypeOracleBuilder.java:
481)
at
com.google.gwt.dev.jdt.TypeOracleBuilder.processType(TypeOracleBuilder.java:
531)
at com.google.gwt.dev.jdt.TypeOracleBuilder.access
$000(TypeOracleBuilder.java:93)
at com.google.gwt.dev.jdt.TypeOracleBuilder
$2.visit(TypeOracleBuilder.java:410)
at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:
990)
at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:
307)
at
com.google.gwt.dev.jdt.TypeOracleBuilder.build(TypeOracleBuilder.java:
395)
at com.google.gwt.dev.cfg.ModuleDef.getTypeOracle(ModuleDef.java:294)
at com.google.gwt.dev.cfg.ModuleDef.refresh(ModuleDef.java:359)
at
com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:
86)
I couldn't find much information on this error. Did anyone find and
fixed it?
For reference: GWT 1.4.61, GNU/Linux i386, eclipse 3.3.0, java
1.6.0.02.
Thanks,
Giuseppe
your debug requiremeents are outlined in that technote for "noserver"
hosted mode option:
http://code.google.com/support/bin/answer.py?answer=55200&topic=10454
>>>
Though your own external server handles all static content and dynamic
resources, all browser application logic continues to be handled in
Java, internal to hosted mode. This means that you can continue to
debug your client-side code in Java as usual, but all server-side
requests will be served by your web or application server of choice.
(If you are using an IDE such as Eclipse configured to integrate with
GWT's hosted mode for debugging, then using -noserver will prevent you
from automatically debugging your server code in the same debugger
instance you use to debug hosted mode. However, if the server
software you use supports it, you can of course use an external
debugging tools.)
>>>>>
from what I understand you can run your J2EE/Web project using
different Eclipse instance then Eclipse instance you are debuggn GWT
module in hosted mode, but it cannot be done within the same Eclipse
IDE workspace instance,
regards,
Peter
Thanks,
Giuseppe
On 9 Nov, 22:11, Peter Blazejewicz <peter.blazejew...@gmail.com>
wrote:
> hi Giuseppe,
>
> your debug requiremeents are outlined in that technote for "noserver"
> hosted mode option:http://code.google.com/support/bin/answer.py?answer=55200&topic=10454
>
>
>
> Though your own external server handles all static content and dynamic
> resources, all browser application logic continues to be handled in
> Java, internal to hosted mode. This means that you can continue to
> debug your client-side code in Java as usual, but all server-side
> requests will be served by your web or application server of choice.
> (If you are using an IDE such as Eclipse configured to integrate with
> GWT's hosted mode for debugging, then using -noserver will prevent you
> from automatically debugging your server code in the same debugger
> instance you use to debug hosted mode. However, if the server
> software you use supports it, you can of course use an external
> debugging tools.)
>
>
>
> from what I understand you can run your J2EE/Web project using
> different Eclipse instance then Eclipse instance you are debuggn GWT
> module in hosted mode, but it cannot be done within the same Eclipse
> IDE workspace instance,
>
> regards,
> Peter
[...]