I'm having some problems with gwt..
Everytime when I compile the project, the console's output shows me this:
Compiling module municipios.MunicipiosEficientesValidating newly compiled units[ERROR] Errors in 'jar:file:/usr/lib/jvm/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/EventBus.java'[ERROR] Line 24: No source code is available for type com.google.web.bindery.event.shared.EventBus; did you forget to inherit a required module?[ERROR] Line 28: No source code is available for type com.google.web.bindery.event.shared.HandlerRegistration; did you forget to inherit a required module?[ERROR] Line 28: No source code is available for type com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget to inherit a required module?[ERROR] Line 48: No source code is available for type com.google.web.bindery.event.shared.Event<H>; did you forget to inherit a required module?[ERROR] Line 68: Cannot cast from GwtEvent<capture#1-of ?> to Event<?>[ERROR] Line 69: No source code is available for type com.google.web.bindery.event.shared.UmbrellaException; did you forget to inherit a required module?[ERROR] Line 76: Cannot cast from GwtEvent<capture#3-of ?> to Event<?>[ERROR] Errors in 'jar:file:/usr/lib/jvm/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/LegacyHandlerWrapper.java'[ERROR] Line 19: No source code is available for type com.google.web.bindery.event.shared.HandlerRegistration; did you forget to inherit a required module?[ERROR] Errors in 'jar:file:/usr/lib/jvm/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/ResettableEventBus.java'[ERROR] Line 27: No source code is available for type com.google.web.bindery.event.shared.ResettableEventBus; did you forget to inherit a required module?[ERROR] Line 49: Cannot cast from GwtEvent.Type<H> to Event.Type<H>[ERROR] Line 49: No source code is available for type com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget to inherit a required module?[ERROR] Line 53: No source code is available for type com.google.web.bindery.event.shared.HandlerRegistration; did you forget to inherit a required module?[ERROR] Line 59: Cannot cast from GwtEvent.Type<H> to Event.Type<H>[ERROR] Line 68: No source code is available for type com.google.web.bindery.event.shared.Event<H>; did you forget to inherit a required module?<?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="municipioseficientes"><!-- Inherit the core Web Toolkit stuff. --><inherits name="com.google.gwt.user.User"/><inherits name="com.google.gwt.i18n.I18N"/><!-- Other module inherits --><!-- Inherit the Smart GWT stuff. --><inherits name="com.smartgwt.SmartGwtNoScript"/><inherits name="com.smartclient.SmartClientDefault"/><!-- <inherits name="com.smartgwt.SmartGwt"/> --><!-- Inherit the OFCGWT (charts) stuff. --><inherits name='com.rednels.ofcgwt.OFCGWT'/><!-- Theme --><inherits name="com.smartclient.theme.treefrog.TreeFrog"/><!--<inherits name="com.smartclient.theme.silverwave.SilverWave"/><inherits name="com.smartclient.theme.blackops.BlackOps"/><inherits name="com.smartclient.theme.treefrog.TreeFrog"/><inherits name="com.smartclient.theme.fleet.Fleet"/>--><!-- Specify the app entry point class --><entry-point class="municipios.cliente.MunicipiosEficientes"/><!-- i18n --><extend-property name="locale" values="pt_BR"/><!-- Include GWTUpload library --><inherits name="gwtupload.GWTUpload"/><stylesheet src="Upload.css"/><!-- Specify the paths for translatable code --><source path="cliente"/><!-- Only for IE --><!-- <set-property name="user.agent" value="ie8" /> --></module><?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="municipioseficientes"><!-- Inherit the core Web Toolkit stuff. --><inherits name="com.google.gwt.user.User"/><inherits name="com.google.gwt.i18n.I18N"/><!-- Other module inherits --><!-- Inherit the Smart GWT stuff. --><inherits name="com.smartgwt.SmartGwtNoScript"/><inherits name="com.smartclient.SmartClientDefault"/><!-- <inherits name="com.smartgwt.SmartGwt"/> --><!-- Inherit the OFCGWT (charts) stuff. --><inherits name='com.rednels.ofcgwt.OFCGWT'/><!-- Theme --><inherits name="com.smartclient.theme.treefrog.TreeFrog"/><!--<inherits name="com.smartclient.theme.silverwave.SilverWave"/><inherits name="com.smartclient.theme.blackops.BlackOps"/><inherits name="com.smartclient.theme.treefrog.TreeFrog"/><inherits name="com.smartclient.theme.fleet.Fleet"/>--><!-- Specify the app entry point class --><entry-point class="municipios.cliente.MunicipiosEficientes"/><!-- i18n --><extend-property name="locale" values="pt_BR"/><!-- Include GWTUpload library --><inherits name="gwtupload.GWTUpload"/><stylesheet src="Upload.css"/><!-- Specify the paths for translatable code --><source path="cliente"/><!-- Only for IE --><!-- <set-property name="user.agent" value="ie8" /> --></module><?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="municipioseficientes"><!-- Inherit the core Web Toolkit stuff. --><inherits name="com.google.gwt.user.User"/><inherits name="com.google.gwt.i18n.I18N"/><!-- Other module inherits --><!-- Inherit the Smart GWT stuff. --><inherits name="com.smartgwt.SmartGwtNoScript"/><inherits name="com.smartclient.SmartClientDefault"/><!-- <inherits name="com.smartgwt.SmartGwt"/> --><!-- Inherit the OFCGWT (charts) stuff. --><inherits name='com.rednels.ofcgwt.OFCGWT'/><!-- Theme --><inherits name="com.smartclient.theme.treefrog.TreeFrog"/><!--<inherits name="com.smartclient.theme.silverwave.SilverWave"/><inherits name="com.smartclient.theme.blackops.BlackOps"/><inherits name="com.smartclient.theme.treefrog.TreeFrog"/><inherits name="com.smartclient.theme.fleet.Fleet"/>--><!-- Specify the app entry point class --><entry-point class="municipios.cliente.MunicipiosEficientes"/><!-- i18n --><extend-property name="locale" values="pt_BR"/><!-- Include GWTUpload library --><inherits name="gwtupload.GWTUpload"/><stylesheet src="Upload.css"/><!-- Specify the paths for translatable code --><source path="cliente"/><!-- Only for IE --><!-- <set-property name="user.agent" value="ie8" /> --></module>[ERROR] Errors in 'jar:file:/usr/lib/jvm/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/SimpleEventBus.java'[ERROR] Line 27: No source code is available for type com.google.web.bindery.event.shared.SimpleEventBus; did you forget to inherit a required module?[ERROR] Line 32: Cannot cast from GwtEvent.Type<H> to Event.Type<H>[ERROR] Line 32: No source code is available for type com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget to inherit a required module?[ERROR] Line 36: No source code is available for type com.google.web.bindery.event.shared.HandlerRegistration; did you forget to inherit a required module?[ERROR] Line 42: Cannot cast from GwtEvent.Type<H> to Event.Type<H>[ERROR] Line 51: No source code is available for type com.google.web.bindery.event.shared.Event<H>; did you forget to inherit a required module?[ERROR] Errors in 'jar:file:/usr/lib/jvm/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/UmbrellaException.java'[ERROR] Line 24: No source code is available for type com.google.web.bindery.event.shared.UmbrellaException; did you forget to inherit a required module?[ERROR] Errors in 'jar:file:/usr/lib/jvm/gwt-2.3.0/gwt-user.jar!/com/google/gwt/event/shared/testing/CountingEventBus.java'[ERROR] Line 29: No source code is available for type com.google.web.bindery.event.shared.testing.CountingEventBus; did you forget to inherit a required module?[ERROR] Line 41: Cannot cast from GwtEvent.Type<H> to Event.Type<H>[ERROR] Line 41: No source code is available for type com.google.web.bindery.event.shared.Event<H>.Type<H>; did you forget to inherit a required module?[ERROR] Line 45: No source code is available for type com.google.web.bindery.event.shared.HandlerRegistration; did you forget to inherit a required module?[ERROR] Line 51: Cannot cast from GwtEvent.Type<H> to Event.Type<H>[ERROR] Line 60: No source code is available for type com.google.web.bindery.event.shared.Event<H>; did you forget to inherit a required module?[ERROR] Line 80: The method getCount(Event.Type<?>) in the type CountingEventBus is not applicable for the arguments (GwtEvent.Type<capture#5-of ?>)Scanning for additional dependencies: file:/home/vitor/workspace/MunicipiosEficientes/src/municipios/cliente/view/CagedView.javaComputing all possible rebind results for 'municipios.cliente.i18n.MyUploaderConstants'Rebinding municipios.cliente.i18n.MyUploaderConstantsChecking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>[ERROR] Unable to find type 'municipios.cliente.i18n.MyUploaderConstants'[ERROR] Hint: Previous compiler errors may have made this type unavailable[ERROR] Errors in 'file:/home/vitor/workspace/MunicipiosEficientes/src/municipios/cliente/view/CagedView.java'[ERROR] Line 199: Failed to resolve 'municipios.cliente.i18n.MyUploaderConstants' via deferred bindingScanning for additional dependencies: file:/home/vitor/workspace/MunicipiosEficientes/src/municipios/cliente/view/configuracao/VariavelExogenaView.javaComputing all possible rebind results for 'municipios.cliente.i18n.MyUploaderConstants'Rebinding municipios.cliente.i18n.MyUploaderConstantsChecking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>[ERROR] Unable to find type 'municipios.cliente.i18n.MyUploaderConstants'[ERROR] Hint: Previous compiler errors may have made this type unavailable[ERROR] Errors in 'file:/home/vitor/workspace/MunicipiosEficientes/src/municipios/cliente/view/configuracao/VariavelExogenaView.java'[ERROR] Line 200: Failed to resolve 'municipios.cliente.i18n.MyUploaderConstants' via deferred bindingScanning for additional dependencies: file:/home/vitor/workspace/MunicipiosEficientes/src/municipios/cliente/view/configuracao/ImportacaoCagedView.javaComputing all possible rebind results for 'municipios.cliente.i18n.MyUploaderConstants'Rebinding municipios.cliente.i18n.MyUploaderConstantsChecking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>[ERROR] Unable to find type 'municipios.cliente.i18n.MyUploaderConstants'[ERROR] Hint: Previous compiler errors may have made this type unavailable[ERROR] Errors in 'file:/home/vitor/workspace/MunicipiosEficientes/src/municipios/cliente/view/configuracao/ImportacaoCagedView.java'[ERROR] Line 43: Failed to resolve 'municipios.cliente.i18n.MyUploaderConstants' via deferred bindingScanning for additional dependencies: jar:file:/home/vitor/workspace/MunicipiosEficientes/WebRoot/WEB-INF/lib/gwtupload-0.6.3-compat.jar!/gwtupload/client/Uploader.javaComputing all possible rebind results for 'gwtupload.client.IUploader.UploaderConstants'Rebinding gwtupload.client.IUploader.UploaderConstantsChecking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>[ERROR] Unable to find type 'gwtupload.client.IUploader.UploaderConstants'[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[ERROR] Errors in 'jar:file:/home/vitor/workspace/MunicipiosEficientes/WebRoot/WEB-INF/lib/gwtupload-0.6.3-compat.jar!/gwtupload/client/Uploader.java'[ERROR] Line 103: Failed to resolve 'gwtupload.client.IUploader.UploaderConstants' via deferred bindingScanning for additional dependencies: jar:file:/home/vitor/workspace/MunicipiosEficientes/WebRoot/WEB-INF/lib/gwtupload-0.6.3-compat.jar!/gwtupload/client/IFileInput.javaComputing all possible rebind results for 'gwtupload.client.IFileInput.AnchorFileInput'Rebinding gwtupload.client.IFileInput.AnchorFileInputChecking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>[ERROR] Unable to find type 'gwtupload.client.IFileInput.AnchorFileInput'[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 properlyComputing all possible rebind results for 'gwtupload.client.IFileInput.LabelFileInput'Rebinding gwtupload.client.IFileInput.LabelFileInputChecking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>[ERROR] Unable to find type 'gwtupload.client.I<?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="municipioseficientes"><!-- Inherit the core Web Toolkit stuff. --><inherits name="com.google.gwt.user.User"/><inherits name="com.google.gwt.i18n.I18N"/><!-- Other module inherits --><!-- Inherit the Smart GWT stuff. --><inherits name="com.smartgwt.SmartGwtNoScript"/><inherits name="com.smartclient.SmartClientDefault"/><!-- <inherits name="com.smartgwt.SmartGwt"/> --><!-- Inherit the OFCGWT (charts) stuff. --><inherits name='com.rednels.ofcgwt.OFCGWT'/><!-- Theme --><inherits name="com.smartclient.theme.treefrog.TreeFrog"/><!--<inherits name="com.smartclient.theme.silverwave.SilverWave"/><inherits name="com.smartclient.theme.blackops.BlackOps"/><inherits name="com.smartclient.theme.treefrog.TreeFrog"/><inherits name="com.smartclient.theme.fleet.Fleet"/>--><!-- Specify the app entry point class --><entry-point class="municipios.cliente.MunicipiosEficientes"/><!-- i18n --><extend-property name="locale" values="pt_BR"/><!-- Include GWTUpload library --><inherits name="gwtupload.GWTUpload"/><stylesheet src="Upload.css"/><!-- Specify the paths for translatable code --><source path="cliente"/><!-- Only for IE --><!-- <set-property name="user.agent" value="ie8" /> --></module>FileInput.LabelFileInput'[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 properlyComputing all possible rebind results for 'gwtupload.client.IFileInput.BrowserFileInput'Rebinding gwtupload.client.IFileInput.BrowserFileInputChecking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>[ERROR] Unable to find type 'gwtupload.client.IFileInput.BrowserFileInput'[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 properlyComputing all possible rebind results for 'gwtupload.client.IFileInput.ButtonFileInput'Rebinding gwtupload.client.IFileInput.ButtonFileInputChecking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>[ERROR] Unable to find type 'gwtupload.client.IFileInput.ButtonFileInput'[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[ERROR] Errors in 'jar:file:/home/vitor/workspace/MunicipiosEficientes/WebRoot/WEB-INF/lib/gwtupload-0.6.3-compat.jar!/gwtupload/client/IFileInput.java'[ERROR] Line 132: Failed to resolve 'gwtupload.client.IFileInput.AnchorFileInput' via deferred binding[ERROR] Line 143: Failed to resolve 'gwtupload.client.IFileInput.BrowserFileInput' via deferred binding[ERROR] Line 154: Failed to resolve 'gwtupload.client.IFileInput.ButtonFileInput' via deferred binding[ERROR] Line 165: Failed to resolve 'gwtupload.client.IFileInput.LabelFileInput' via deferred bindingScanning for additional dependencies: jar:file:/home/vitor/workspace/MunicipiosEficientes/WebRoot/WEB-INF/lib/gwtupload-0.6.3-compat.jar!/gwtupload/client/DecoratedFileUpload.javaComputing all possible rebind results for 'gwtupload.client.DecoratedFileUpload.DecoratedFileUploadImpl'Rebinding gwtupload.client.DecoratedFileUpload.DecoratedFileUploadImplChecking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>[ERROR] Unable to find type 'gwtupload.client.DecoratedFileUpload.DecoratedFileUploadImpl'[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[ERROR] Errors in 'jar:file:/home/vitor/workspace/MunicipiosEficientes/WebRoot/WEB-INF/lib/gwtupload-0.6.3-compat.jar!/gwtupload/client/DecoratedFileUpload.java'[ERROR] Line 347: Failed to resolve 'gwtupload.client.DecoratedFileUpload.DecoratedFileUploadImpl' via deferred bindingScanning for additional dependencies: jar:file:/usr/lib/jvm/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/client/ui/DisclosurePanel.javaComputing all possible rebind results for 'com.google.gwt.user.client.ui.DisclosurePanel.DefaultImages'Rebinding com.google.gwt.user.client.ui.DisclosurePanel.DefaultImagesChecking rule <generate-with class='com.google.gwt.user.rebind.ui.ImageBundleGenerator'/>[ERROR] Unable to find type 'com.google.gwt.user.client.ui.DisclosurePanel.DefaultImages'[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[ERROR] Hint: Check that your module inherits 'com.google.gwt.user.User' either directly or indirectly[ERROR] Errors in 'jar:file:/usr/lib/jvm/gwt-2.3.0/gwt-user.jar!/com/google/gwt/user/client/ui/DisclosurePanel.java'[ERROR] Line 93: Failed to resolve 'com.google.gwt.user.client.ui.DisclosurePanel.DefaultImages' via deferred binding[ERROR] Cannot proceed due to previous errors
I dunno if my project.gwt.xml will help, but here u r:
-- <?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="municipioseficientes">
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name="com.google.gwt.user.User"/>
<inherits name="com.google.gwt.i18n.I18N"/>
<!-- Other module inherits -->
<!-- Inherit the Smart GWT stuff. -->
<inherits name="com.smartgwt.SmartGwtNoScript"/>
<inherits name="com.smartclient.SmartClientDefault"/>
<!-- <inherits name="com.smartgwt.SmartGwt"/> -->
<!-- Inherit the OFCGWT (charts) stuff. -->
<inherits name='com.rednels.ofcgwt.OFCGWT'/>
<!-- Theme -->
<inherits name="com.smartclient.theme.treefrog.TreeFrog"/>
<!--<inherits name="com.smartclient.theme.silverwave.SilverWave"/>
<inherits name="com.smartclient.theme.blackops.BlackOps"/>
<inherits name="com.smartclient.theme.treefrog.TreeFrog"/>
<inherits name="com.smartclient.theme.fleet.Fleet"/>-->
<!-- Specify the app entry point class -->
<entry-point class="municipios.cliente.MunicipiosEficientes"/>
<!-- i18n -->
<extend-property name="locale" values="pt_BR"/>
<!-- Include GWTUpload library -->
<inherits name="gwtupload.GWTUpload"/>
<stylesheet src="Upload.css"/>
<!-- Specify the paths for translatable code -->
<source path="cliente"/>
<!-- Only for IE -->
<!-- <set-property name="user.agent" value="ie8" /> -->
</module>
How can I fix it?
Is it better change to gwt 2.5?
thanks for the help guys!
Is it better change to gwt 2.5?
thanks for the help guys!
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment