Re: Unable to find 'xml.gwt.xml' on your classpath
Anyone? - I'm a total noob to the Eclipse JDT and GWT, so I am just trying to work through the tutorial for the Stock Watcher. I think that I just need to find the setting in eclipse where I can set the classpath needed, but can't find where - - - Here is a summary of my errors: In the GWT Browser window, I get: Cannot find resource 'StockWatcher.html' in the public path of module 'com.google.gwt.sample.stockwatcher.StockWatcher' In the Dev Shell trace window, I get: [TRACE] The development shell servlet received a request for 'StockWatcher.html' in module 'com.google.gwt.sample.stockwatcher.StockWatcher.gwt.xml' [TRACE] Loading module 'com.google.gwt.sample.stockwatcher.StockWatcher' [TRACE] Loading inherited module 'com.google.gwt.user.User' [ERROR] Unable to find 'com/google/gwt/user/User.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] Line 4: Unexpected exception while processing element 'inherits' [ERROR] Failure while parsing XML In the Line 4 error, the element inherits points to inherits name='com.google.gwt.user.User'/ All that pathing was done by the google gwt scripts in the tutorial. No idea why that is not working -Jim On Oct 27, 6:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Every time we switch versions of GWT, the build process clobbers our web.xml file. We have download our old web.xml from the Subversion store, and then 'touch' the web.xml so that the build process wouldn't clobber it again the next time. On Oct 21, 11:53 am, mechprince [EMAIL PROTECTED] wrote: Just thought I'd post how this issue got resolved. It turned out that the GWT version had nothing to do with the issue. My eclipse project has a tomcat folder that contains web.xml. This web.xml had mappings to many servlets being used by my app. While trying to install a new GWT or while trying to run the app on the tomcat server, this web.xml must have got cleared off its servlet mappings (my assumption of course). All of my xml requests are handled thru a home grown XMLServlet, and since it was unavailable in web.xml, this error had started happening. Once I fixed the web.xml to include all the needed mappings, the error went away. Thanks. On Oct 9, 11:28 am, mechprince [EMAIL PROTECTED] wrote: I was using GWT-1.4.62 for a couple of weeks and recently switched to 1.5.2. After the switch, I started getting the following error: [ERROR] Unable to find 'xml.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? Firstly, I do not have a 'xml.gwt.xml'. I don't know from where GWT is picking it up. Secondly, I reverted back to 1.4.62, but still the problem persists. I have cleaned-up the eclipse project, created a new GWT module, deleted the contents of cache folders etc, but nothing has changed; the problem still persists. Am I missing anything here? Any help is greatly appreciated as I'm stuck on this for the past 2 days. Thanks. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Unable to find 'xml.gwt.xml' on your classpath
Highlight the project in Package Explorer in Eclipse Go to Project | Properties Select Java Build Path in the tree on the left Select the Libraries tab on the right I think you might be missing the GWT jars there. If you are, click on Add External Jar and add gwt-user.jar from wherever you extracted the GWT files to, then do the same for gwt-dev-windows.jar (or gwt-dev-linux or wharever) If that isn't it, then post again. Actually, if that *is* it, post again as well, so if other people find this thread, they'll know it worked for you. Ian http://examples.roughian.com --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Unable to find 'xml.gwt.xml' on your classpath
Hey - I've run into the same error although it sounds like it is a different issue... I just started playing with GWT. I have another Tomcat instance on my box. I guess I want to know what you changed into the web.xml to get this cleaned up. Could you post a clearer picture of what you had to do. Thanks! -Jim On Oct 21, 8:53 am, mechprince [EMAIL PROTECTED] wrote: Just thought I'd post how this issue got resolved. It turned out that the GWT version had nothing to do with the issue. My eclipse project has a tomcat folder that contains web.xml. This web.xml had mappings to many servlets being used by my app. While trying to install a new GWT or while trying to run the app on the tomcat server, this web.xml must have got cleared off its servlet mappings (my assumption of course). All of my xml requests are handled thru a home grown XMLServlet, and since it was unavailable in web.xml, this error had started happening. Once I fixed the web.xml to include all the needed mappings, the error went away. Thanks. On Oct 9, 11:28 am, mechprince [EMAIL PROTECTED] wrote: I was using GWT-1.4.62 for a couple of weeks and recently switched to 1.5.2. After the switch, I started getting the following error: [ERROR] Unable to find 'xml.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? Firstly, I do not have a 'xml.gwt.xml'. I don't know from where GWT is picking it up. Secondly, I reverted back to 1.4.62, but still the problem persists. I have cleaned-up the eclipse project, created a new GWT module, deleted the contents of cache folders etc, but nothing has changed; the problem still persists. Am I missing anything here? Any help is greatly appreciated as I'm stuck on this for the past 2 days. Thanks. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Unable to find 'xml.gwt.xml' on your classpath
Every time we switch versions of GWT, the build process clobbers our web.xml file. We have download our old web.xml from the Subversion store, and then 'touch' the web.xml so that the build process wouldn't clobber it again the next time. On Oct 21, 11:53 am, mechprince [EMAIL PROTECTED] wrote: Just thought I'd post how this issue got resolved. It turned out that the GWT version had nothing to do with the issue. My eclipse project has a tomcat folder that contains web.xml. This web.xml had mappings to many servlets being used by my app. While trying to install a new GWT or while trying to run the app on the tomcat server, this web.xml must have got cleared off its servlet mappings (my assumption of course). All of my xml requests are handled thru a home grown XMLServlet, and since it was unavailable in web.xml, this error had started happening. Once I fixed the web.xml to include all the needed mappings, the error went away. Thanks. On Oct 9, 11:28 am, mechprince [EMAIL PROTECTED] wrote: I was using GWT-1.4.62 for a couple of weeks and recently switched to 1.5.2. After the switch, I started getting the following error: [ERROR] Unable to find 'xml.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? Firstly, I do not have a 'xml.gwt.xml'. I don't know from where GWT is picking it up. Secondly, I reverted back to 1.4.62, but still the problem persists. I have cleaned-up the eclipse project, created a new GWT module, deleted the contents of cache folders etc, but nothing has changed; the problem still persists. Am I missing anything here? Any help is greatly appreciated as I'm stuck on this for the past 2 days. Thanks. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Unable to find 'xml.gwt.xml' on your classpath
Additional info on the problem: 1. I use ext-js-2.0.2, gwt-ext-2.0.4, gwt-1.5.2 (tried 1.4.62 as well), cypal plugin for eclipse 2. My GWT module definition is as follows: module inherits name=com.google.gwt.user.User/inherits inherits name=com.ssc.osa.osawt.workspace.Container/inherits inherits name=com.gwtext.GwtExt/inherits entry-point class='com.ssc.rsw.dashboard.client.RSWContainer'/ entry-point stylesheet src=css/rsw.css/stylesheet /module Thanks. On Oct 9, 1:52 pm, mechprince [EMAIL PROTECTED] wrote: Looks like my earlier post got 'lost' somehow. Anyways, as I'm in dire need of help, I've decided to post it again. My app used GWT 1.4.62 and things were going along fine. I switched to 1.5.2 couple of days back and suddenly started getting the following error on load of the first screen (login page) of the app: [ERROR] Unable to find 'xml.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? I do not have a xml.gwt.xml at all in my project and do not know from where it is being picked up. The weird part of it all is that even after reverting to 1.4.62, I still get the same error. I deleted the existing GWT module, created a new one, cleaned up cache/ build folders etc, but to no avail; the problem still persists. Any help is appreciated. Thanks. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---