I'm trying to update my GWT + NetBeans framework, installing GWT 2.7.
The first thing I tried then was to run the sample application created by the GWT4NB wizard.
It simple does not work. It compiles OK, but, when I run the project, the web page appears empty in any browser.
The same project works perfectly using GWT 2.5.
Running the browser's debugger I get the following error:
Loading failed for the with source http://localhost:8080/WebApplication1/org.yournamehere.Main/org.yournamehere.Main.nocache.js
I am using:GWT 2.7, java 1.8, NetBeans 8.0.2, Ubuntu 14-64
The welcomeGWT.html created:
<html>
<head>
<meta name='gwt:module' content='org.yournamehere.Main=org.yournamehere.Main'>
<title>Main</title>
<script type="text/javascript" src="org.yournamehere.Main/org.yournamehere.Main.nocache.js"></script>
</head>
<body>
<iframe src="javascript:''" id="__gwt_historyFrame" style="width:0;height:0;border:0"></iframe>
</body>
The Main.gwt.xml:
<module>
<inherits name="com.google.gwt.user.User"/>
<!-- Inherit the default GWT style sheet. You can change -->
<!-- the theme of your GWT application by uncommenting -->
<!-- any one of the following lines. -->
<!-- <inherits name='com.google.gwt.user.theme.standard.Standard'/> -->
<!-- <inherits name="com.google.gwt.user.theme.chrome.Chrome"/> -->
<!-- <inherits name="com.google.gwt.user.theme.dark.Dark"/> -->
<entry-point class="org.yournamehere.client.MainEntryPoint"/>
<!-- Do not define servlets here, use web.xml -->
Any idea?