23 Nov 2011 7:26 PM #1
Grid Problem in GXT 2.2.5 and GWT 2.4.0
Before i move to the problem, my gwt web project worked with GWT2.4.0 and GXT2.2.5.
i tried to create a basic grid in my gwt project, and I copy the codes from EXT GWT Demo.
this is the Link: http://www.sencha.com/examples/#basicgrid.
but when i tried to run the project, i got an error like this :
09:43:54.353 [ERROR] [gxt_test] Unable to load module entry point class com.chameleon.GXT.client.GXT_Test (see associated exception for details) java.lang.RuntimeException: Deferred binding failed for 'com.extjs.gxt.ui.client.widget.grid.GridTemplates' (did you forget to inherit a required module?)
28 Nov 2011 11:10 AM #2
Without more information, it is hard to say what is causing that - are you sure you have the inherits line in your gwt module file for GXT?
28 Nov 2011 5:40 PM #3
thanks for the reply.
first, i have already wrote the inherit line in my gwt module, but still there is the same error.
but today i've already solved this problem, this problem happened because i didn't use the correct jar.
When i downloaded GXT 2.2.5, I found 3 jars in the gxt2.2.5 folder i've been downloaded and i used gxt-2.2.5-gwt2.jar. After i switched this jar into gxt-2.2.5-gwt22.jar, the error disappeared suddenly, and my project works fine until now .