[ERROR] Hint: Previous compiler errors may have made this type unavailable

876 views
Skip to first unread message

BMax

unread,
Jul 23, 2009, 6:54:02 AM7/23/09
to Google Web Toolkit
Hi guys,
please help me! I have to finish an important work but now my project
is blocked by this error:

Checking rule <generate-with
class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
[ERROR] Unable to find type
'org.xlab.semantic.gwtext.client.Sisma'
[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

I readed other post about this problem but I didn't find a solution!

Thanks, Max

Norman Maurer

unread,
Jul 23, 2009, 7:27:30 AM7/23/09
to Google-We...@googlegroups.com
Hi,

like stated in the error message... Do you have am inherits statment
for "org.xlab.semantic.gwtext.client.Sisma" ?

Bye,
Norman

2009/7/23 BMax <massim...@gmail.com>:

BMax

unread,
Jul 23, 2009, 7:46:35 AM7/23/09
to Google Web Toolkit
Hi, I post here my module xml code:

<module>

<inherits name='com.google.gwt.user.User'/>

<inherits name='com.gwtext.GwtExt' />

<entry-point class='org.xlab.semantic.gwtext.client.Sisma'/>

<stylesheet src="js/ext/resources/css/ext-all.css" />
<script src="js/ext/adapter/ext/ext-base.js" />
<script src="js/ext/ext-all.js" />

<inherits name='com.google.gwt.user.theme.standard.Standard'/>

<servlet path="/sismaService"
class="org.xlab.semantic.gwtext.server.SismaServiceImpl"/>

<stylesheet src="Sisma.css"/>

</module>

I think that it's good...!
Bye, Max



On 23 Lug, 13:27, Norman Maurer <nor...@apache.org> wrote:
> Hi,
>
> like stated in the error message... Do you have am inherits statment
> for "org.xlab.semantic.gwtext.client.Sisma" ?
>
> Bye,
> Norman
>
> 2009/7/23 BMax <massimo.bo...@gmail.com>:

mirceade

unread,
Jul 24, 2009, 4:20:36 AM7/24/09
to Google Web Toolkit
Read the manual, read the errors, learn English, get a life.

BMax

unread,
Jul 24, 2009, 6:44:20 AM7/24/09
to Google Web Toolkit
Thanks mirceade!
Now, after your post, I'm really so happy! Fortunately you exist!!!

However, there is someone (smarter than mirceade) who can help me?

Bye, Max

dougx

unread,
Jul 27, 2009, 7:45:16 AM7/27/09
to Google Web Toolkit
I don't know if this will help, but check your paths.

If you have a source path like this:
C:\Workspace\App\src\com\me\app:
- App.gwt.xml
- App.java

Where App.gwt.xml reads:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//
EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-
source/core/src/gwt-module.dtd">
<module rename-to='app'>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<entry-point class='com.me.app.App'/>
</module>

You will get an error like this:
Compiling module com.me.app.App
Computing all possible rebind results for 'com.me.app.App'
Rebinding com.me.app.App
Checking rule <generate-with
class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>
[ERROR] Unable to find type 'com.me.app.App'
[ERROR] Hint: Previous compiler errors may have made
this type unavailable

This is because GWT is (very) not smart, and cannot locate classes in
the small path as the gwt.xml file (notice how the template projects
always have a client and server directory).

So fix this, change the class path of App.java to:
C:\Workspace\App\src\com\me\app\client

And the entry point to:
<entry-point class='com.me.app.client.App'/>

This may not be the problem you have, but it sounds quite similar.


Don't worry. It's not just you. I've never come across a good
explanation of why this happens.


~
Doug.

BMax

unread,
Sep 21, 2009, 5:06:37 AM9/21/09
to Google Web Toolkit
Hi dougx,
thanks a lot for your message!
Sorry if I reply only at this time!
I checked my code and its setting... I saw that it's already like you
told me... and now? What can I do?

Bye, Max

Thomas Broyer

unread,
Sep 21, 2009, 9:51:37 AM9/21/09
to Google Web Toolkit


On 21 sep, 11:06, BMax <massimo.bo...@gmail.com> wrote:
> Hi dougx,
> thanks a lot for your message!
> Sorry if I reply only at this time!
> I checked my code and its setting... I saw that it's already like you
> told me... and now? What can I do?

And you don't have any other error before that one?

BMax

unread,
Sep 22, 2009, 8:41:15 AM9/22/09
to Google Web Toolkit
No Thomas,
I have only this error!!!

Thomas Broyer

unread,
Sep 22, 2009, 12:10:34 PM9/22/09
to Google Web Toolkit


On 22 sep, 14:41, BMax <massimo.bo...@gmail.com> wrote:
> No Thomas,
> I have only this error!!!

:-S

Send me your code (if you can), and I'll have a look (if I find time!)

I'm sorry, there's not much more I (we) can do here...
Reply all
Reply to author
Forward
0 new messages