Re: Unable to find 'com/apress/gwt/GWTasks.gwt.xml' on your classpath;
Hi, I am using gwt-windows-1.5.3 and jdk1.6 . I am not getting any error when i start from command prompt. When im trying to run the same code using eclipse i get this error [ERROR] Unable to find 'com/apress/gwt/GWTasks.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? I have included gwt-dev-windows.jar and gwt-user.jar files. Do i need to make any further changes when i use eclipse. Thanks Ritu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Unable to find 'com/apress/gwt/GWTasks.gwt.xml' on your classpath;
Something on line 36 of GWTTask.java is null. If it isn't obvious from looking at your code what, exactly, is null, then you can set a breakpoint and run in debug mode (possible from the command line, but why make things difficult? Just use Eclipse or some other IDE). If you then can't figure out why whatever it is is null, post the relevant code. I'm going to take a wild guess and say you have something like RootPanel.get("foo").add(something) and there isn't an element with ID of "foo" in your HTML. But that is, again, simply a wild guess. On Fri, Mar 27, 2009 at 8:18 AM, ritu6386 wrote: > > Hi, > > I have just started using GWT and i started with a very simple > project i found in a book . When i execute it from the command prompt > for the first time it's working fine. Then i try and import project to > eclipse and while executing i get this error. > > [ERROR] Unable to find 'com/apress/gwt/GWTasks.gwt.xml' on your > classpath; could be a typo, or maybe you forgot to include a classpath > entry for source? > > i have included gwt-dev-windows.jar and gwt-user.jar in the build > path. > > After this now when i execute gwtasks-shell from command prompt i get > this error > > [ERROR] Unable to load module entry point class > com.apress.gwt.client.GWTasks > java.lang.NullPointerException: null > at com.apress.gwt.client.GWTasks.onModuleLoad(GWTasks.java:36) > at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:64) > at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace > (BrowserWidget.java:324) > at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access$100 > (BrowserWidgetIE6.java:19) > at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad > (BrowserWidgetIE6.java:45) > at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke > (BrowserWidgetIE6.java:98) > at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke > (IDispatchImpl.java:199) > > [ERROR] Failure to load module 'com.apress.gwt.GWTasks' > > I am using gwt-windows-1.0.20 since i have jdk1.4 on this system . > > I would really appreciate if i could get any 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 Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Unable to find 'com/apress/gwt/GWTasks.gwt.xml' on your classpath;
If I were you, I'd use the latest stable version (1.5) or, since you are learning, the latest released version (1.6 which has major differences to 1.5) I don't think anyone here can really remember how version 1.0 works any more. You will need to get a more recent version of Java, too. Ian http://examples.roughian.com 2009/3/27 ritu6386 > > Hi, > > I have just started using GWT and i started with a very simple > project i found in a book . When i execute it from the command prompt > for the first time it's working fine. Then i try and import project to > eclipse and while executing i get this error. > > [ERROR] Unable to find 'com/apress/gwt/GWTasks.gwt.xml' on your > classpath; could be a typo, or maybe you forgot to include a classpath > entry for source? > > i have included gwt-dev-windows.jar and gwt-user.jar in the build > path. > > After this now when i execute gwtasks-shell from command prompt i get > this error > > [ERROR] Unable to load module entry point class > com.apress.gwt.client.GWTasks > java.lang.NullPointerException: null >at com.apress.gwt.client.GWTasks.onModuleLoad(GWTasks.java:36) >at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) >at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) >at java.lang.reflect.Method.invoke(Method.java:324) >at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:64) >at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace > (BrowserWidget.java:324) >at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access$100 > (BrowserWidgetIE6.java:19) >at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad > (BrowserWidgetIE6.java:45) >at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke > (BrowserWidgetIE6.java:98) >at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke > (IDispatchImpl.java:199) > > [ERROR] Failure to load module 'com.apress.gwt.GWTasks' > > I am using gwt-windows-1.0.20 since i have jdk1.4 on this system . > > I would really appreciate if i could get any 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 Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Unable to find 'com/apress/gwt/GWTasks.gwt.xml' on your classpath;
Hi, I have just started using GWT and i started with a very simple project i found in a book . When i execute it from the command prompt for the first time it's working fine. Then i try and import project to eclipse and while executing i get this error. [ERROR] Unable to find 'com/apress/gwt/GWTasks.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? i have included gwt-dev-windows.jar and gwt-user.jar in the build path. After this now when i execute gwtasks-shell from command prompt i get this error [ERROR] Unable to load module entry point class com.apress.gwt.client.GWTasks java.lang.NullPointerException: null at com.apress.gwt.client.GWTasks.onModuleLoad(GWTasks.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:64) at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace (BrowserWidget.java:324) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access$100 (BrowserWidgetIE6.java:19) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad (BrowserWidgetIE6.java:45) at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke (BrowserWidgetIE6.java:98) at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke (IDispatchImpl.java:199) [ERROR] Failure to load module 'com.apress.gwt.GWTasks' I am using gwt-windows-1.0.20 since i have jdk1.4 on this system . I would really appreciate if i could get any 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 Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---