Hi there,
I have a real problem to launch my gwt in Eclipse at the moment.
After a lot of search on the web, it seems to be a classpath problem
but i'm not sure.
First of all, my configuration :
MAC OS 10.5.6
Java 1.5.0_16
Eclipse 3.4.1
I've created my GWT app using command line tools.
Since there, there's no problem, I can launch my app.
After that, I just wanted to use GDATA API to connect to my GFinance
account and added external jars (*.jar gdata/java/lib).
Here's the code :
public void onModuleLoad() {
FinanceService gFinanceService = new FinanceService("exampleCo-
exampleApp-1");
try {
gFinanceService.setUserCredentials("[email protected]",
"secretPassword");
} catch (AuthenticationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
I don't think that this code is pretty important, maybe it can be the
cause of my problem.
I also included this jars and sources of them in classpath... but GWT
give me this errors when I launch my app :
[TRACE] Compiling Java source files in module
'com.glo22879.myPortfolio'
[TRACE] Removing units with errors
[ERROR] Errors in 'file:/Volumes/x42/code/java/workspace/myPortfolio/
src/com/glo22879/client/myPortfolio.java'
[ERROR] Line 16: No source code is available for type
com.google.gdata.client.finance.FinanceService; did you forget to
inherit a required module?
[ERROR] Line 20: No source code is available for type
com.google.gdata.util.AuthenticationException; did you forget to
inherit a required module?
[TRACE] Finding entry point classes
[ERROR] Unable to find type 'com.glo22879.client.myPortfolio'
[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] Failure to load module 'com.glo22879.myPortfolio'
So... I really don't know what to do now...
If someone have any idea, that can be really nice.
Thanks for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---