我想将 Storage 类与 GWT 一起使用。我的 projectname.gwt.xml 文件中有这个:
<module rename-to='projectname'>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.google.gwt.storage.client.Storage' />
...
但是在开发模式下启动项目会抛出:
Loading modules
com.me.myproject
Loading inherited module 'com.google.gwt.storage.client.Storage'
[ERROR] Unable to find 'com/google/gwt/storage/client/Storage.gwt.xml'
on your classpath; could be a typo, or maybe you forgot to include a
classpath entry for source?
[ERROR] Line 5: Unexpected exception while processing element 'inherits'
是否有额外的罐子或我们需要包含的东西才能让它工作?
谢谢