Saturday, May 23, 2015

Error inheritance blogger gwt project

<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='myfirstrestclient'>
<!-- Inherit the core Web Toolkit stuff. -->
<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.clean.Clean'/>
<!-- <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'/> -->

<!-- Para permitir hacer logging (Mostrar mensajes por pantalla) -->
<!-- <inherits name="com.google.gwt.logging.Logging"/> -->
<!-- Other module inherits -->

<!-- Add Google dependency using inherit using following line into your XYZ.gwt.xml -->
<inherits name="com.google.gdata.YouTubeAPI"/>
<inherits name="com.google.api.gwt.oauth2.OAuth2"/>

<!-- Specify the app entry point class. -->
<entry-point class='aiss.client.MyFirstRestClient'/>

<!-- Specify the paths for translatable code -->
<source path='client'/>
<source path='shared'/>
<!-- <source path='server'/> -->


</module>
Hi people. I am a new developer of Blogger in GWT

I have some errors in compilation
[ERROR] Unable to find type 'aiss.client.BloggerAuthenticatedService'
               [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

It is like I have a fail in my gwt.xml
I put this like an example.
I think I have to write another inherits name but I don't know what is.

<!-- Add Google dependency using inherit using following line into your XYZ.gwt.xml  -->
  <inherits name="com.google.gdata.YouTubeAPI"/>
  <inherits name="com.google.api.gwt.oauth2.OAuth2"/>

I put my gwt.xml here

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment