Friday, November 28, 2014

Re: Chrome GWT Plugin required but is already installed

Thank you Jens. This would explain it. 

I can't find any way to downgrade Google Chrome on my mac. I don't appear to have a Google Software Update app as some webpage suggested I should. 

GWT 2.7.0 won't compile my application (2.6.1 has no problem). The error message is so cryptic there's no hope to figure out why. 

I've tried for 3 hrs now to get Super Dev Mode to work but the documentation is terrible so I can't figure it out. I'm hoping you can help with that since I'm out of options. 

I can't understand the GWT documentation on running SuperDevMode. It says:

If you are not using Dev Mode, first you need to compile the GWT application and launch a web server that serves its output files.

I don't know what that means. Are they suggesting that I simply create a standard war file and deploy that on a web server like Tomcat? 

The instructions on running the code-server are also lacking details. I've no idea how to launch this codeserver or set up my classpaths. I've tried using the maven gwt:run-codeserver goal and it does a bunch of compilation and looks to launch a server but when I visit the URL I get this error in my browser:

HTTP ERROR: 500

Problem accessing /. Reason:

    org.eclipse.jetty.http.gzip.CompressedResponseWrapper.newCompressedStream(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;JII)Lorg/eclipse/jetty/http/gzip/AbstractCompressedStream;

and in the console I get:

[ERROR] java.lang.AbstractMethodError: org.eclipse.jetty.http.gzip.CompressedResponseWrapper.newCompressedStream(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;JII)Lorg/eclipse/jetty/http/gzip/AbstractCompressedStream;
[ERROR] at org.eclipse.jetty.http.gzip.CompressedResponseWrapper.getOutputStream(CompressedResponseWrapper.java:347)
[ERROR] at com.google.gwt.dev.codeserver.PageUtil.sendJsonAndHtml(PageUtil.java:89)
[ERROR] at com.google.gwt.dev.codeserver.WebServer.doGet(WebServer.java:174)
[ERROR] at com.google.gwt.dev.codeserver.WebServer.handleRequest(WebServer.java:158)
[ERROR] at com.google.gwt.dev.codeserver.WebServer.access$000(WebServer.java:65)
[ERROR] at com.google.gwt.dev.codeserver.WebServer$1.doGet(WebServer.java:123)
[ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
[ERROR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
[ERROR] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
[ERROR] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1336)
[ERROR] at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:82)
[ERROR] at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:294)
[ERROR] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
[ERROR] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
[ERROR] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
[ERROR] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)
[ERROR] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)
[ERROR] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
[ERROR] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)
[ERROR] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
[ERROR] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
[ERROR] at org.eclipse.jetty.server.Server.handle(Server.java:365)
[ERROR] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
[ERROR] at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)
[ERROR] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)
[ERROR] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
[ERROR] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
[ERROR] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
[ERROR] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
[ERROR] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
[ERROR] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
[ERROR] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
[ERROR] at java.lang.Thread.run(Thread.java:745)

Any ideas why this isn't working?

Thanks,

Alex

On Friday, November 28, 2014 2:27:04 PM UTC-8, Jens wrote:
Latest Chrome on Mac OS is now 64bit but the browser plugin is only 32bit so it does not work anymore.

You can:
- downgrade your Chrome to version 38 and turn off auto update
- use Firefox 24 ESR or 26 (GWT plugin does not work in newer versions of Firefox)
- instead of DevMode use SuperDevMode which does not require any browser plugins.

-- J.

--
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