hi all,

I am getting the following errors when I added a new source folder to
my existing project.

[ERROR] Unable to find type
'com.aadhyah.sponsorer.ui.client.Sponsorer'
[ERROR] Hint: Previous compiler errors may have made this type
unavailable
[ERROR] Hint: Check the inheritance chain from your module; it may not
be inheriting a required module or a module may not be adding its
source path entries properly
[ERROR] Failure to load module 'sponsorer'

and below is my html file called Sponsor.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <link type="text/css" rel="stylesheet"
 href="Consumer.css">
  <title>PinkCRM - Defining CRM for Healthcare</title>
  <link rel="shortcut icon" href="favicon.ico"
 type="image/x-icon">
<!--CSS for loading message at application Startup-->
  <style type="text/css">
body { overflow:hidden }
#loading {
border: 1px solid #ccc;
position: absolute;
left: 45%;
top: 40%;
padding: 2px;
z-index: 20001;
height: auto;
}
#loading a {
color: #225588;
}
#loading .loadingIndicator {
background: white;
font: bold 13px tahoma, arial, helvetica;
padding: 10px;
margin: 0;
height: auto;
color: #444;
}
#loadingMsg {
font: normal 10px arial, tahoma, sans-serif;
}
  </style>
  <meta http-equiv="content-type"
 content="text/html; charset=UTF-8">
</head>
<body>
<iframe id="__gwt_historyFrame"
 style="border: 0pt none ; width: 0pt; height: 0pt;"></iframe>
<!--add loading indicator while the app is being loaded-->
<div id="loadingWrapper">
<div id="loading">
<div class="loadingIndicator"><img src="images/logo.png"
 style="margin-right: 8px; float: left; vertical-align: top;"
 height="32" width="136"><br>
Loading..</div>
</div>
</div>
<script>var isomorphicDir = "sc/"</script><!--include the SC Core API--
>
<script src="sc/modules/ISC_Core.js?isc_version=7.0beta.js"></
script><!--include SmartClient -->
<script src="sc/modules/ISC_Foundation.js?isc_version=7.0beta.js"></
script>
<script src="sc/modules/ISC_Containers.js?isc_version=7.0beta.js"></
script>
<script src="sc/modules/ISC_Grids.js?isc_version=7.0beta.js"></script>
<script src="sc/modules/ISC_Forms.js?isc_version=7.0beta.js"></script>
<script src="sc/modules/ISC_RichTextEditor.js?
isc_version=7.0beta.js"></script>
<script src="sc/modules/ISC_Calendar.js?isc_version=7.0beta.js"></
script>
<script src="sc/modules/ISC_DataBinding.js?isc_version=7.0beta.js"></
script>
<script>
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring
(nameEQ.length,c.length);
}
return null;
}
// Determine what skin file to load
var currentSkin = readCookie('skin'); if (currentSkin == null)
currentSkin = "SilverWave";
</script><!--load skin-->
<script type="text/javascript">
document.write("<"+"script src=sc/skins/" + currentSkin + "/
load_skin.js?isc_version=7.0beta.js><"+"/script>");
</script> <iframe id="__printingFrame"
 style="border: 0pt none ; width: 0pt; height: 0pt;"></iframe>
<script type="text/javascript"
 src="sponsorer/sponsorer.nocache.js"></script>
</body>
</html>

and my entry class is Sponsor.java its below

package com.aadhyah.sponsorer.ui.client;

import com.aadhyah.base.client.dto.SessionDetailsDto;
import com.aadhyah.base.client.service.SessionDetailsService;
import com.aadhyah.base.client.service.SessionDetailsServiceAsync;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.RootPanel;
import com.smartgwt.client.util.SC;

public class Sponsorer implements EntryPoint{

        private String loginPath = GWT.getHostPageBaseURL() + "Pinkcrm.html";

        @Override
        public void onModuleLoad() {
                SessionDetailsServiceAsync async = GWT.create
(SessionDetailsService.class);
                async.getSessionDetails(new AsyncCallback<SessionDetailsDto>()
                {
                        public void onFailure(Throwable caught) {
                                redirect(loginPath);
                        }
                        public void onSuccess(SessionDetailsDto result) {
                                SponsorerMainView.getView().draw();
                                SponsorerMainView.loggedinUser = 
result.loggedInUser;
                                SponsorerMainView.loggedinCompany = 
result.loggedInCompany;
                                SponsorerMainView.setLoginUserLabel();
                                SponsorerMainView.drawComponents();
                                
RootPanel.get("loadingWrapper").getElement().setInnerHTML("");
                                SC.disableFirebug();
                        }
                });
        }
        public static native void redirect(String url)/*-{
    $wnd.location = url;
        }-*/;
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to