A more detailed answer is here: https://sourceforge.net/tracker/index.php?func=detail&aid=2035864&group_id=205333&atid=993218
To make to fix yourself, you'll need to get the source for GWT- OpenLayers. How to do that is described here: http://sourceforge.net/cvs/?group_id=205333 If you're using Eclipse, you can do an "Import" and select the "CVS- >Projects from CVS" option. Enter the information found in the link above. Then, all you have to do is add the protected constructor to the JSObject class as described in the first link above, and create a new jar. I've send a request for a new release to be created. I'm not sure when that will happen though. Hope that is a little more clear? On Oct 9, 1:41 am, dzizes <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having the same problem, but I'm not sure how to follow your > suggestions. > Could you please be more specific. > > Greets, > dzizes > > On 30 Wrz, 21:25, WebDude <[EMAIL PROTECTED]> wrote: > > > I had the same problem. I think it was introduced with GWT 1.5. I > > had to download the OpenLayers source and add an empty protected > > constructor to the JSObject class: > > protected JSObject() {} > > > Everything seems to work fine after that. > > > -- > > Curtis > > > On Sep 15, 3:36 am, mazi <[EMAIL PROTECTED]> wrote: > > > > Dear all, > > > I have recently tried running theopenlayersGWT plugin > > > "openlayers_gwt-0.2.jar" along with "OpenLayers-2.6" in an example in > > > eclipse. I have installed J2SE1.6 and ECLIPSE 3.4. > > > I get the following error when I try to run the example in ECLIPSE. > > > Anyone familiar with theopenlayersand GWT? > > > I would appreciate any input on this one. I may have used the > > > "openlayers_gwt-0.2.jar" instead of "openlayers_gwt-0.1.jar" in this > > > particular case, could this be the problem? > > > Thank you in advance and regards. > > > > [TRACE] Compiling Java source files in module 'tutorial.Tutorial1' > > > [TRACE] Removing units with errors > > > [ERROR] Errors in 'jar:file:/gwt-windows-1.5.2/gwt-windows-1.5.2/ > > > samples/gwt-openlayers-tutorial/openlayers_gwt-0.2.jar!/com/eg/gwt/openLaye > > > rs/client/JSObject.java' > > > Line 5: Constructors must be 'protected' in subclasses of > > > JavaScriptObject > > > More info: file:/gwt-windows-1.5.2/gwt-windows-1.5.2/doc/helpInfo/ > > > jsoRestrictions.html > > > More info: file:/gwt-windows-1.5.2/gwt-windows-1.5.2/doc/helpInfo/ > > > jsoRestrictions.html > > > Finding entry point classes > > > Unable to find type 'tutorial.client.Tutorial1' > > > Hint: Previous compiler errors may have made this type > > > unavailable > > > 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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
