1 Reply Latest reply on Jun 25, 2012 11:13 AM by navigateur

    Error generating marshallers: FileNotFoundException: .../ServerMarshallingFactoryImpl.class

    navigateur Newbie

      What does this error mean during marshaller generation and how do I typically avoid it?:

       

      13:40:40.428 [ERROR] [openconstitution] Error generating marshallers

       

      java.lang.RuntimeException: failed to load server marshallers

          at org.jboss.errai.marshalling.rebind.MarshallersGenerator._generate(MarshallersGenerator.java:274)

          at org.jboss.errai.marshalling.rebind.MarshallersGenerator.generateMarshallerBootstrapper(MarshallersGenerator.java:237)

          at org.jboss.errai.marshalling.rebind.MarshallersGenerator.generate(MarshallersGenerator.java:222)

          at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)

          at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)

          at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:647)

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

          at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)

          at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:268)

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

          at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:585)

          at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:455)

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

          at com.google.gwt.core.client.GWT.create(GWT.java:97)

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

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:264)

          at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:654)

          at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:363)

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

          at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)

          at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)

          at java.lang.Thread.run(Thread.java:722)

      Caused by: java.io.FileNotFoundException: C:\Users\admin\AppData\Local\Temp\errai\7c2aa826f82ceab411fec8e8a739446fbc592f2afe682331fe9ed5ee771\errai.marshalling\gen\org\jboss\errai\marshalling\server\impl\ServerMarshallingFactoryImpl.class (The system cannot find the file specified)

          at java.io.FileInputStream.open(Native Method)

          at java.io.FileInputStream.<init>(FileInputStream.java:138)

          at java.io.FileInputStream.<init>(FileInputStream.java:97)

          at org.jboss.errai.codegen.util.ClassChangeUtil.loadClassDefinition(ClassChangeUtil.java:179)

          at org.jboss.errai.marshalling.rebind.MarshallersGenerator._generate(MarshallersGenerator.java:271)

          at org.jboss.errai.marshalling.rebind.MarshallersGenerator.generateMarshallerBootstrapper(MarshallersGenerator.java:237)

          at org.jboss.errai.marshalling.rebind.MarshallersGenerator.generate(MarshallersGenerator.java:222)

          at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)

          at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)

          at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:647)

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

          at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:78)

          at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:268)

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

          at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:585)

          at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:455)

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

          at com.google.gwt.core.client.GWT.create(GWT.java:97)

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

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:264)

          at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:654)

          at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:363)

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

          at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:525)

          at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)

          at java.lang.Thread.run(Thread.java:722)

       

      ?