NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problem with GWT

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
rioja



Joined: 05 Jul 2012
Posts: 1

PostPosted: Thu Jul 05, 2012 9:10 am    Post subject: Problem with GWT Reply with quote

Hi,

I have a problem with GWT.

I´m learning gwt, but I´ve a problem when I create my first application. I simply create the project and I run it for leaves the button with the message: "Hello, GWT!!!" in my browser, don´t leave to me this, but I leave the page in white without the button and text.

On the page I see the source code and it´s the next:

<!doctype html>
<!--
The DOCTYPE declaration above will set the browser's rendering engine into
"Standards Mode". Replacing this declaration with a "Quirks Mode" doctype may
lead to some differences in layout.
-->
<html>
<head>
<meta name='gwt:module' content='com.packtpub.Main=com.packtpub.Main'>
<link rel="stylesheet" type="text/css" href="resources/css/gxt-all.css" />
<title>Main</title>
</head>
<body>
<script type="text/javascript" src="com.packtpub.Main/com.packtpub.Main.nocache.js"></script>
</body>
</html>

And when I push the link "src=..."


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>GlassFish Server Open Source Edition 3.1.2 - Error report</title>
<style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style>
</head>
<body>
<h1>HTTP Status 404 - </h1>
<hr/>
<p><b>type</b> Status report</p>
<p><b>message</b></p><p><b>description</b>The requested resource () is not available.</p>
<hr/
><h3>GlassFish Server Open Source Edition 3.1.2</h3>
</body>
</html>

I don´t understarnd because I don´t do it good. Could someone help me, please?

Note: I downloaded the file GWT on the page Google: https://developers.google.com/web-toolkit/download?hl=en-EN

Thanks.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo