Have you any idea ?
Thx
Stéphane
As far as I can tell, the contract is that anything in the "client"
package will be converted to JavaScript, which limits you to a specific
set of classes.
So... move the class MyService, and I think you should be good to go.
bizarre !
Exception in thread "main" java.lang.UnsatisfiedLinkError:
registerNatives
at sun.misc.Perf.<clinit>(Perf.java:539)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:180)
at
com.google.gwt.dev.util.HiResTimer$PerfTimerImpl.<init>(HiResTimer.java:99)
at
com.google.gwt.dev.util.HiResTimer$PerfTimerImpl.<init>(HiResTimer.java:95)
at com.google.gwt.dev.util.HiResTimer.<clinit>(HiResTimer.java:230)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:22)
at
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:97)
at
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:40)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:133)
at
com.google.gwt.dev.GWTCompiler$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(GWTCompiler.java:165)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:76)
at
com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.process(AbstractCompiler.java:126)
at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:329)
at
com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:57)
at
com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile(AbstractCompiler.java:192)
at
com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access$500(AbstractCompiler.java:48)
at
com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:462)
at
com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:39)
at
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.<init>(JavaToJavaScriptCompiler.java:192)
at com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:472)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:797)
at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:380)