Import can't be resolved

39 views
Skip to first unread message

lawwton

unread,
Jun 8, 2011, 2:27:01 PM6/8/11
to gwt4air
Hello group:

I am trying gwt4air for the first time and I've downloaded:

gwt4air-2.1

I am using:

GWT 2.1.1

I am receiving the following error when I try to run the Application.
However I've:

Added the xml inherit instruction to my X.gwt.xml. I've also added the
jar to my project's classpath and it's showing no errors. In fact it's
able to resolve all imports just fine.

Error I am seeing:

The import com.ekambi.gwt.web cannot be resolved.

Any help is greatly appreciated.

Thanks in advance,

Alfredo

Alain Ekambi

unread,
Jun 8, 2011, 3:07:24 PM6/8/11
to gwt...@googlegroups.com
This one s for me :)
Can you please  paste a test case implementing EntryPoint ? 
Thanks,

Alain


2011/6/8 lawwton <law...@gmail.com>



--


Alain Ekambi

unread,
Jun 8, 2011, 3:11:44 PM6/8/11
to gwt...@googlegroups.com
Also please a copy of your X.gwt.xml file

2011/6/8 Alain Ekambi <jazzma...@googlemail.com>

Alfredo Quiroga-Villamil

unread,
Jun 8, 2011, 3:17:51 PM6/8/11
to gwt...@googlegroups.com
Hi Alain:

I really appreciate the fast response.

I merely took the Excel sample code provided and added it to my project's entry point. I am trying to generate an Excel File on the client side. Please note that the only two steps I took were to only add the inherit to my X.gwt.xml and then copy the jar and add it to my project's classpath as well as copying the resource folder name gwt4air into my war folder.

Is this operation supported for a pure GWT implementation?

Thanks in advance,

Alfredo

nino

unread,
Jun 8, 2011, 3:29:01 PM6/8/11
to gwt...@googlegroups.com
Hi Alfredo,
can ypu please show me how your gwt.xml file looks like ?
Thanks,
Alain

nino

unread,
Jun 9, 2011, 4:29:58 AM6/9/11
to gwt...@googlegroups.com
After some private message with Alfredo we found the issue.
For those wou are having the same problem.
Make sure that when you use the web package by inheriting  <inherits name="com.ekambi.gwt.web.flex.FlexWeb" />
and not <inherits name="com.ekambi.gwt.air.core.Gwt4Air" />  or  <inherits name="com.ekambi.gwt.air.flx.Flex" />
The two last  are for  the gwt4air AIR package. Meaning only for Adobe AIR application.

Cheers

Alain

Alfredo Quiroga-Villamil

unread,
Jun 9, 2011, 9:02:24 AM6/9/11
to gwt...@googlegroups.com
Thanks Alain, truly appreciate all the help.

Alfredo
Reply all
Reply to author
Forward
0 new messages