On Friday, May 16, 2014 7:58:30 PM UTC+2, William Davis wrote:
Today is the day I decided to move one of our projects to 2.6.1. How hard can it be, right? Just change the pom file and all will go smoothly. Clearly I wouldn't be here if that were the case. Now perhaps I have made a dumb error, but an extra set of eyes could solve my issues. I believe it has something to do with maven and dependencies getting screwed up.
So here is the deal, I have a project running fine on 2.5.1, I switch the pom to pull 2.6.1 and when I run the maven install I get the same error on permutation 4 every time. If anyone has any ideas or a direction to point me in I would be most grateful.I am relatively new to the scene so would be happy to learn if anyone sees any mistakes. I will post the error and attach my pom file.Thanks,Will[INFO] Compiling 15 permutations[INFO] Compiling permutation 0...[INFO] Process output[INFO] Compiling[INFO] Compiling permutation 7...[INFO] Process output[INFO] Compiling[INFO] Compiling permutation 2...[INFO] Process output[INFO] Compiling[INFO] Compiling permutation 6...[INFO] Process output[INFO] Compiling[INFO] Compiling permutation 1...[INFO] Process output[INFO] Compiling[INFO] Compiling permutation 5...[INFO] Process output[INFO] Compiling[INFO] Compiling permutation 3...[INFO] Process output[INFO] Compiling[INFO] Compiling permutation 4...[INFO] [ERROR] An internal compiler exception occurred[INFO] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit. [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.translateException( JVisitor.java:110) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.acceptLvalue( JVisitor.java:162) [INFO] at com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse( JBinaryOperation.java:77) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 145) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor. acceptWithInsertRemove( JVisitor.java:167) [INFO] at com.google.gwt.dev.jjs.ast.js.JMultiExpression.traverse( JMultiExpression.java:140) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 126) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 121) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 117) [INFO] at com.google.gwt.dev.jjs.ast.JReturnStatement.traverse( JReturnStatement.java:39) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 145) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor. acceptWithInsertRemoveImmutabl e(JVisitor.java:171) [INFO] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java: 83) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 126) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 138) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 134) [INFO] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse( JMethodBody.java:82) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 126) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 121) [INFO] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod. java:449) [INFO] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java: 418) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 145) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor. acceptWithInsertRemoveImmutabl e(JVisitor.java:171) [INFO] at com.google.gwt.dev.jjs.ast.JClassType.traverse( JClassType.java:98) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 145) [INFO] at com.google.gwt.dev.jjs.ast.JProgram.traverse(JProgram. java:972) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 126) [INFO] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java: 121) [INFO] at com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST. execImpl( GenerateJavaScriptAST.java: 2953) [INFO] at com.google.gwt.dev.jjs.impl.GenerateJavaScriptAST.exec( GenerateJavaScriptAST.java: 2673) [INFO] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler. compilePermutation( JavaToJavaScriptCompiler.java: 357) [INFO] at com.google.gwt.dev.jjs.UnifiedAst.compilePermutation( UnifiedAst.java:137) [INFO] at com.google.gwt.dev.CompilePerms.compile( CompilePerms.java:195) [INFO] at com.google.gwt.dev.ThreadedPermutationWorkerFacto ry$ThreadedPermutationWorker. compile( ThreadedPermutationWorkerFacto ry.java:50) [INFO] at com.google.gwt.dev.PermutationWorkerFactory$ Manager$WorkerThread.run( PermutationWorkerFactory.java: 73) [INFO] at java.lang.Thread.run(Thread.java:722) [INFO] Caused by: java.lang.NoSuchMethodError: com.google.gwt.thirdparty.guava.common.collect.Hashing. closedTableSize(ID)I
You have requestfactory-server:2.5.1 in the classpath, that's likely the issue as it also bundles com.google.gwt.thirdparty.guava.
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+unsubscribe@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.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment