Saturday, February 26, 2011

[WARN] 404 - GET /.nocache.js ( 1397 bytes

I am new to GWT 2.2

I am using Helios with the GWT plugin.
I created a simple Hello World example.

The content of the module file HelloGwt.gwt.xml is :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.2.0//EN" "">
    <inherits name="" />
    <source path="client" />
    <entry-point class="oge.gwt.chap24.hello.client.HelloGwt" />

The content of the HelloGwt (EntryPoint) class is :

package oge.gwt.chap24.hello.client;


public class HelloGwt implements EntryPoint {

    public void onModuleLoad() {
        // TODO Auto-generated method stub
        RootPanel.get().add(new Label("cool"));



And finally Hello.html :

<!doctype html>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <script type="text/javascript" language="javascript" src=".nocache.js"></script>

    <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>


The problem is that nothing shows up in the browser. It is supposed to display "cool". It displays the title though : "Hello33".

I get this message in the Eclipse console :
[WARN] 404 - GET /.nocache.js ( 1397 bytes
   Request headers
      User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv: Gecko/20101203 Firefox/3.6.13
      Accept: */*
      Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
      Accept-Encoding: gzip,deflate
      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
      Keep-Alive: 115
      Connection: keep-alive
      Cache-Control: max-age=0
   Response headers
      Content-Type: text/html; charset=iso-8859-1
      Content-Length: 1397

Any idea ? It's like it cannot find that .nocache.js file.
Thanks for helping.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment