Do you have a class that extend
com.google.gwt.gadgets.client.Gadget<T> ?   If that doesn't make sense
to you, then check out the GettingStarted guide at
http://code.google.com/p/gwt-google-apis

On Tue, Apr 19, 2011 at 7:39 PM, dicko <d...@mothdesign.com.au> wrote:
> Thanks for your help so far but I'm still having issues.  Now I'm
> getting this error when I attempt to compile:
>
> Compiling module com.google.gwt.gadgets.Gadgets
>   [ERROR] Module has no entry points defined
>
> Any hints?
>
>
>
> On Apr 15, 11:25 pm, Eric Ayers <zun...@google.com> wrote:
>> Yeah, I forgot, the GadgetLinker "went bad" with GWT 2.2 there is a
>> patch I just put up for gadgets that builds against the latest GWT
>> releases.
>>
>> http://gwt-code-reviews.appspot.com/1370808/
>>
>> It doesn't handle <stylesheet> module directives correctly though.
>>
>>
>>
>>
>>
>>
>>
>> On Fri, Apr 15, 2011 at 2:34 AM, dicko <d...@mothdesign.com.au> wrote:
>> > Thanks for your help guys but I'm still having trouble.  Do I just
>> > need to import the project and then re-compile it?  If so, I'm getting
>> > this error:
>>
>> > [ERROR] Unable to load class
>> > 'com.google.gwt.gadgets.linker.GadgetLinker'
>> > java.lang.ClassNotFoundException:
>> > com.google.gwt.gadgets.linker.GadgetLinker
>> >        at java.net.URLClassLoader$1.run(Unknown Source)
>> >        at java.security.AccessController.doPrivileged(Native Method)
>> >        at java.net.URLClassLoader.findClass(Unknown Source)
>> >        at java.lang.ClassLoader.loadClass(Unknown Source)
>> >        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>> >        at java.lang.ClassLoader.loadClass(Unknown Source)
>> >        at com.google.gwt.dev.cfg.ModuleDefSchema
>> > $ClassAttrCvt.convertToArg(ModuleDefSchema.java:869)
>> >        at
>> > com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:
>> > 64)
>> >        at
>> > com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:
>> > 221)
>> >        at com.google.gwt.dev.util.xml.ReflectiveParser
>> > $Impl.startElement(ReflectiveParser.java:274)
>> >        at
>> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(U
>> >  nknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyE
>> >  lement(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
>> >  StartElement(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
>> > $FragmentContentDriver.next(Unknown Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
>> >  Document(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
>> > Source)
>> >        at 
>> > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
>> > Source)
>> >        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
>> > $JAXPSAXParser.parse(Unknown Source)
>> >        at com.google.gwt.dev.util.xml.ReflectiveParser
>> > $Impl.parse(ReflectiveParser.java:331)
>> >        at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access
>> > $100(ReflectiveParser.java:48)
>> >        at
>> > com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:
>> > 402)
>> >        at
>> > com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:
>> > 280)
>> >        at 
>> > com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:
>> > 192)
>> >        at
>> > com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:
>> > 308)
>> >        at
>> > com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.ja
>> >  va:
>> > 151)
>> >        at com.google.gwt.dev.Compiler.run(Compiler.java:185)
>> >        at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
>> >        at 
>> > com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
>> > 87)
>> >        at
>> > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRu
>> >  nner.java:
>> > 81)
>> >        at com.google.gwt.dev.Compiler.main(Compiler.java:166)
>> > [ERROR] Failure while parsing XML
>> > com.google.gwt.core.ext.UnableToCompleteException: (see previous log
>> > entries)
>> >        at com.google.gwt.dev.cfg.ModuleDefSchema
>> > $ClassAttrCvt.convertToArg(ModuleDefSchema.java:872)
>> >        at
>> > com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:
>> > 64)
>> >        at
>> > com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:
>> > 221)
>> >        at com.google.gwt.dev.util.xml.ReflectiveParser
>> > $Impl.startElement(ReflectiveParser.java:274)
>> >        at
>> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(U
>> >  nknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyE
>> >  lement(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
>> >  StartElement(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
>> > $FragmentContentDriver.next(Unknown Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scan
>> >  Document(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
>> > Source)
>> >        at 
>> > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
>> > Source)
>> >        at
>> > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
>> > Source)
>> >        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
>> > $JAXPSAXParser.parse(Unknown Source)
>> >        at com.google.gwt.dev.util.xml.ReflectiveParser
>> > $Impl.parse(ReflectiveParser.java:331)
>> >        at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access
>> > $100(ReflectiveParser.java:48)
>> >        at
>> > com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:
>> > 402)
>> >        at
>> > com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:
>> > 280)
>> >        at 
>> > com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:
>> > 192)
>> >        at
>> > com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:
>> > 308)
>> >        at
>> > com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.ja
>> >  va:
>> > 151)
>> >        at com.google.gwt.dev.Compiler.run(Compiler.java:185)
>> >        at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
>> >        at 
>> > com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
>> > 87)
>> >        at
>> > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRu
>> >  nner.java:
>> > 81)
>> >        at com.google.gwt.dev.Compiler.main(Compiler.java:166)
>> > [ERROR] Unexpected error while processing XML
>> > com.google.gwt.core.ext.UnableToCompleteException: (see previous log
>> > entries)
>> >        at com.google.gwt.dev.util.xml.ReflectiveParser
>> > $Impl.parse(ReflectiveParser.java:355)
>> >        at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access
>> > $100(ReflectiveParser.java:48)
>> >        at
>> > com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:
>> > 402)
>> >        at
>> > com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:
>> > 280)
>> >        at 
>> > com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:
>> > 192)
>> >        at
>> > com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:
>> > 308)
>> >        at
>> > com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.ja
>> >  va:
>> > 151)
>> >        at com.google.gwt.dev.Compiler.run(Compiler.java:185)
>> >        at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
>> >        at 
>> > com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
>> > 87)
>> >        at
>> > com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRu
>> >  nner.java:
>> > 81)
>> >        at com.google.gwt.dev.Compiler.main(Compiler.java:166)
>>
>> > If there are some other steps I should be taking, please let me know -
>> > or you could just give me a link to a recompiled gwt-gadgets.jar
>> > file ; )
>>
>> > On Apr 11, 7:44 pm, Eric Ayers <zun...@google.com> wrote:
>> >>http://code.google.com/p/gwt-google-apis/wiki/GettingStartedSource
>>
>> >> On Mon, Apr 11, 2011 at 2:16 AM, dicko <d...@mothdesign.com.au> wrote:
>> >> > To be honest, I have no idea how to compile gwt-gadgets sources or
>> >> > where to get them from in the first place (I'm not a real developer).
>> >> > I was kind of hoping that Google might have a spare developer to do it
>> >> > if it's really that simple!
>>
>> >> > Alternatively, if someone can help me out with some instructions on
>> >> > how to do this, I'd really appreciate it.
>>
>> >> > On Apr 10, 2:52 am, Eric Ayers <zun...@google.com> wrote:
>> >> >> That's exactly what the problem is (with all the gwt-google-api
>> >> >> libraries and GWT 2.2)
>>
>> >> >> On Sat, Apr 9, 2011 at 12:34 PM, Juan Pablo Gardella
>>
>> >> >> <gardellajuanpa...@gmail.com> wrote:
>> >> >> > Is gwt-gadgets compatible with gwt 2.2? Perhaps you must 
>> >> >> > compile gwt-gadgets
>> >> >> > sources with gwt 2.2 for use in your project.
>>
>> >> >> > 2011/4/8 dicko <d...@mothdesign.com.au>
>>
>> >> >> >> Hi there,
>>
>> >> >> >> I've seen a few posts complaining about this error but they seem to
>> >> >> >> refer to issues using the Maps.jar.  Anyway, I've recently updated 
>> >> >> >> the
>> >> >> >> GWT plugin from 2.1 to 2.2 and can now no longer compile a gadget 
>> >> >> >> I've
>> >> >> >> been building using the Gadgets plugin (gwt-gadgets.jar).  I'm
>> >> >> >> receiving this error:
>>
>> >> >> >> [ERROR] Unexpected
>> >> >> >> java.lang.IncompatibleClassChangeError: Found interface
>> >> >> >> com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
>> >> >> >>        at
>>
>> >> >> >> com.google.gwt.gadgets.rebind.GadgetGenerator.validateType(GadgetGenerator.
>> >> >> >>  java:
>> >> >> >> 475)
>> >> >> >>        at
>>
>> >> >> >> com.google.gwt.gadgets.rebind.GadgetGenerator.generate(GadgetGenerator.java
>> >> >> >>  :
>> >> >> >> 93)
>> >> >> >>        at
>>
>> ...
>>
>> read more »
>
> --
> 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.
>
>



-- 
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA

-- 
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.

Reply via email to