Deleting gwt-unitCache solved the issue for me. I have also deleted war/<appname> and war/WEB-INF/deploy but I think thats not needed.
Can you compile through Eclipse using GPE? I don't think the maven plugin itself is causing the problem. Maybe you still have a gwt-unitCache folder lying around somewhere that you haven't found/deleted yet? -- J. Am Freitag, 15. Februar 2013 17:15:58 UTC+1 schrieb EMan: > > I tried upgrading from 2.5.0 to 2.5.1 but I am getting an error during the > gwt compile. I googled that I needed to remove my gwt-junitCache, which I > tried but it doesn't seem to be helping. I am still using the 2.5.0 gwt > maven plugin since the 2.5.1 is not available. Could that be causing the > problem? Thanks. > > [INFO] java.lang.RuntimeException: Unexpected IOException on in-memory > stream > [INFO] at > com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:324) > [INFO] at > com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:672) > [INFO] at > com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeBySource(UnifyAst.java:985) > [INFO] at > com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:530) > [INFO] at > com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:621) > [INFO] at > com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33) > [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:278) > [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229) > [INFO] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141) > [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:232) > [INFO] at com.google.gwt.dev.Compiler.run(Compiler.java:198) > [INFO] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170) > [INFO] at > com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88) > [INFO] at > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82) > [INFO] at com.google.gwt.dev.Compiler.main(Compiler.java:177) > [INFO] Caused by: java.io.InvalidClassException: > com.google.gwt.dev.jjs.ast.JDeclaredType; local class incompatible: stream > classdesc serialVersionUID = -8155793964565947646, local class > serialVersionUID = -1052417216019896795 > > > On Wednesday, February 13, 2013 1:54:49 PM UTC-5, Matthew Dempsky wrote: >> >> Hi everyone, >> >> We're excited to announce the GWT 2.5.1-rc1 release candidate! There >> will be an announcement soon on the GWT >> Blog<http://googlewebtoolkit.blogspot.com/>, >> and you can download it >> here<https://code.google.com/p/google-web-toolkit/downloads/detail?name=gwt-2.5.1-rc1.zip>. >> >> This release candidate has been uploaded to Maven Central with the version >> string of "2.5.1-rc1". >> >> GWT 2.5.1 contains over 50 new bug fixes, many of which were contributed >> by the community. Thanks to everyone who reported issues and/or submitted >> patches. >> >> Please test out this release candidate and let us know of any issues, >> especially any regressions from either 2.4.0 or 2.5.0. Thanks! >> >> -Matthew, on behalf of the GWT team >> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.