Hello All
When I am trying to compile I am getting back an error saying “Did you forget to inherit”
The application structure is as follows:
src--
|-- client package (Contains the client GUI part)
|-- sever package (Contains the server part)
|-- test package (Contains some useful java class while Client server
communication.) lets say a file "Utils.java" in test package.
my Start.gwt.xml file has
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.4//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-source/core/src/gwt-module.dtd">
<module rename-to='start'>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.smartgwt.SmartGwt'/>
<!--inherits name='com.smartclient.theme.silverwave.SilverWave'/ -->
<!-- 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'/> -->
<!-- Other module inherits -->
<!-- Specify the app entry point class. -->
<entry-point class='com.mycompany.client.Start'/>
</module>
when I am trying to compile it says “Did you forget to inherit com.mycompany.test.Utils”
I am using this utils class in both client and server.
Can any please help me in sorting out this issue.
Thanks.