Compilation Error

171 views
Skip to first unread message

Raul

unread,
Sep 25, 2009, 2:19:06 AM9/25/09
to Google Web Toolkit
Why I am getting this while trying to compile...


[ERROR] Line 3: The import java.text cannot be resolved
[ERROR] Line 4: The import java.text cannot be resolved
[ERROR] Line 5: The import java.text cannot be resolved
[ERROR] Line 24: DateFormat cannot be resolved to a type
[ERROR] Line 24: SimpleDateFormat cannot be resolved to a type
[ERROR] Line 27: ParseException cannot be resolved to a type

[ERROR] Line 3: The import java.security cannot be resolved
.....................
............................

Computing all possible rebind results for 'com.test.client.testApp'
Rebinding com.test.client.testApp
Checking rule <generate-with
class='com.extjs.gxt.ui.rebind.core.BeanModelGenerator'/>
[ERROR] Unable to find type 'com.test.client.testApp'
[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




I have used the java.text .. eclipse does not showed any error while
importing that means it is able to find out the classes in classpath,
but I am getting error while Compiling my Web Application



Please help

Raul


Parvez Shah

unread,
Sep 25, 2009, 2:25:01 AM9/25/09
to google-we...@googlegroups.com
u can not use these classes in GWT - client side,
read the doc for the allowed class,

Adam T

unread,
Sep 25, 2009, 4:51:07 AM9/25/09
to Google Web Toolkit
> u can not use these classes in GWT - client side,
> read the doc for the allowed class,
>

more specifically, this is what you are allowed to use on GWT client
side: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html

//A

Reply all
Reply to author
Forward
Message has been deleted
0 new messages