0 Replies Latest reply on Apr 3, 2014 1:56 PM by xybrek

    Cannot run Errai 3 on Java 8

    xybrek Newbie

      I just tried running a working Errai 3 app (on JDK 7), use Java 8 instead then I got all these errors:

       

      [INFO] Map is a raw type. References to generic type Map<K,V> should be parameterized

      [INFO] ----------

      [ERROR] java.util.concurrent.ExecutionException: java.lang.RuntimeException: failed to load server marshallers

      [ERROR] at java.util.concurrent.FutureTask.report(FutureTask.java:122)

      [ERROR] at java.util.concurrent.FutureTask.get(FutureTask.java:192)

      [ERROR] at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:112)

      [ERROR] at org.jboss.errai.config.rebind.AsyncGenerators$FutureWrapper.get(AsyncGenerators.java:86)

      [ERROR] at org.jboss.errai.config.rebind.AbstractAsyncGenerator.startAsyncGeneratorsAndWaitFor(AbstractAsyncGenerator.java:100)

      [ERROR] at org.jboss.errai.marshalling.rebind.MarshallersGenerator.generate(MarshallersGenerator.java:221)

      [ERROR] at com.google.gwt.core.ext.IncrementalGenerator.generateNonIncrementally(IncrementalGenerator.java:40)

      [ERROR] at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:657)

      [ERROR] at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)

      [ERROR] at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:79)

      [ERROR] at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:276)

      [ERROR] at com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:141)

      [ERROR] at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:595)

      [ERROR] at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:465)

      [ERROR] at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)

      [ERROR] at com.google.gwt.core.shared.GWT.create(GWT.java:57)

      [ERROR] at com.google.gwt.core.client.GWT.create(GWT.java:85)

      [ERROR] at org.jboss.errai.marshalling.client.api.MarshallerFramework.<clinit>(MarshallerFramework.java:42)

      [ERROR] at java.lang.Class.forName0(Native Method)

      [ERROR] at java.lang.Class.forName(Class.java:340)

      [ERROR] at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:665)

      [ERROR] at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:373)

      [ERROR] at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)

      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)

      [ERROR] at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)

      [ERROR] at java.lang.Thread.run(Thread.java:744)

      [ERROR] Caused by: java.lang.RuntimeException: failed to load server marshallers

      [ERROR] at org.jboss.errai.marshalling.rebind.MarshallersGenerator.generate(MarshallersGenerator.java:258)

      [ERROR] at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:43)

      [ERROR] at org.jboss.errai.config.rebind.AbstractAsyncGenerator$1.call(AbstractAsyncGenerator.java:40)

      [ERROR] at java.util.concurrent.FutureTask.run(FutureTask.java:266)

      [ERROR] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

      [ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

      [ERROR] ... 1 more

      [ERROR] Caused by: java.io.FileNotFoundException: /tmp/xybrek/errai/aabfe1bb32d851aeee5690d3e5ad5739d7b34bc/errai.marshalling/gen/org/jboss/errai/marshalling/server/impl/ServerMarshallingFactoryImpl.class (No such file or directory)

      [ERROR] at java.io.FileInputStream.open(Native Method)

      [ERROR] at java.io.FileInputStream.<init>(FileInputStream.java:131)

      [ERROR] at java.io.FileInputStream.<init>(FileInputStream.java:87)

      [ERROR] at org.jboss.errai.codegen.util.ClassChangeUtil.loadClassDefinition(ClassChangeUtil.java:222)

      [ERROR] at org.jboss.errai.marshalling.rebind.MarshallersGenerator.generate(MarshallersGenerator.java:255)

      [ERROR] ... 6 more