------------------------------
Message: 6
Date: Tue, 3 May 2011 22:22:20 -0400 (EDT)
From: Prabhat Jha <pjha(a)redhat.com>
Subject: Re: [gatein-dev] Errors in trunk
To: Julien Viet <julien(a)julienviet.com>
Cc: gatein-dev(a)lists.jboss.org
Message-ID:
<
1875434690.20068.1304475740704.JavaMail.root(a)zmail01.collab.prod.int.phx2.redhat.com
>
Content-Type: text/plain; charset=utf-8
Now I get when I click on login:
Caused by: java.lang.NoSuchMethodError:
com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
at com.google.javascript.jscomp.DiagnosticGroup.<init>(Unknown
Source) [:]
at com.google.javascript.jscomp.DiagnosticGroups.<clinit>(Unknown
Source) [:]
at
com.google.javascript.jscomp.CompilationLevel.applySafeCompilationOptions(Unknown
Source) [:]
at
com.google.javascript.jscomp.CompilationLevel.setOptionsForCompilationLevel(Unknown
Source) [:]
at
org.exoplatform.portal.resource.compressor.impl.ClosureCompressorPlugin.compress(ClosureCompressorPlugin.java:137)
[:3.2.0-Beta01-SNAPSHOT]
at
org.exoplatform.portal.resource.compressor.impl.ResourceCompressorService.compress(ResourceCompressorService.java:117)
[:3.2.0-Beta01-SNAPSHOT]
at
org.exoplatform.web.application.javascript.JavascriptConfigService.getMergedJavascript(JavascriptConfigService.java:323)
[:3.2.0-Beta01-SNAPSHOT]
at
org.exoplatform.portal.webui.javascript.JavascriptServlet.service(JavascriptServlet.java:77)
[:3.2.0-Beta01-SNAPSHOT]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[:1.0.0.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
[:6.0.0.Final]
I've just tested with JBoss 5.1.0-GA and everything was fine.
The ClosureCompressorPlugin is using guava, which used to be named
google-collections. So please make sure that there is no google-collections
.jar in your JBoss lib