I'm trying to use the om.google.gwt.dev.util.collect.HashMap class in
my source code, but Eclipse (Galileo 3.5) fails with the following
error:

Loading inherited module 'com.google.gwt.dev.util.collect'
   [ERROR] Unable to find 'com/google/gwt/dev/util/collect.gwt.xml' on
your classpath; could be a typo, or maybe you forgot to include a
classpath entry for source?
[ERROR] Line 10: Unexpected exception while processing element
'inherits'

Here is my config file:

<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='website'>
  <!-- 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.standard.Standard'/>
  <inherits name='com.google.gwt.dev.util.collect'/>
  <inherits name='com.google.gwt.json.JSON' />
  <inherits name='com.smartgwt.SmartGwt'/>
  <!-- <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.dc4x.website.client.Website'/>

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

</module>


and in my code, I've got :

import com.google.gwt.dev.util.collect.HashMap;

HashMap<String, String> defaultParams = new HashMap<String,String>();
defaultParams.put("session_id", Website.sessionID);

I've looked at the Build Path and it includes the GWT 2.0.0 library
with both the gwt-user.jar and gwt-dev.jar files listed.

Anybody have any ideas or know what is wrong?

Thanks!

Jim


--

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


Reply via email to