Talsman,

I haven't seen this one before. Do you have all the GWT jars in the
classpath?

In particular look for this class:
  com/google/gwt/core/ext/Generator

On Tue, Feb 16, 2010 at 1:46 PM, Talsman <[email protected]> wrote:

> Hi, I'm trying to incorporate gwt-log into my application but it seems
> that just trying to add the import causes it to explode. I'm running
> GWT 2.0 and trying to use GWT Log 3.0.0. The application utilizes
> other GWT asynchronous functionality already without difficulty until
> the gwt-log inheritance line is added to the module file
> (VTD2.gwt.xml) as so:
>
> ----
> <?xml version="1.0" encoding="UTF-8"?>
> <module rename-to='vtd2'>
>  <!-- Inherit the core Web Toolkit stuff.                        -->
>  <inherits name='com.google.gwt.user.User'/>
>
>  <inherits name='com.google.gwt.user.theme.standard.Standard'/>
>
>  <!-- Other module inherits                                      -->
>  <!-- GWT Logger. Levels: (TRACE, DEBUG, INFO, WARN, ERROR, FATAL,
> OFF) -->
>  <inherits name='com.allen_sauer.gwt.log.gwt-log-DEBUG'/>
>
>  <!-- Specify the app entry point class.                         -->
>  <entry-point class='tmst.vtd2.client.VTD2'/>
>
>  <!-- Specify the paths for translatable code                    -->
>  <source path='client'/>
> </module>
> ----
>
> Upon trying to execute the web application in eclipse, it gives the
> following error to the console:
>
> Loading modules
>   tmst.vtd2.VTD2
>      Loading inherited module 'com.allen_sauer.gwt.log.gwt-log'
>         Loading inherited module 'com.allen_sauer.gwt.log.gwt-log-
> OFF'
>            Loading inherited module 'com.allen_sauer.gwt.log.gwt-log-
> common'
>               Loading inherited module 'com.allen_sauer.gwt.log.gwt-
> log-impl'
>                  [ERROR] Unexpected error while processing XML
> java.lang.NoClassDefFoundError: com/google/gwt/core/ext/Generator
>        at java.lang.ClassLoader.defineClass1(Native Method)
>        at java.lang.ClassLoader.defineClass(Unknown Source)
>        at java.security.SecureClassLoader.defineClass(Unknown Source)
>        at java.net.URLClassLoader.defineClass(Unknown Source)
>        at java.net.URLClassLoader.access$000(Unknown Source)
>        at java.net.URLClassLoader$1.run(Unknown Source)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(Unknown Source)
>        at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source)
>        at java.lang.ClassLoader.loadClass(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:706)
>        at
> com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:
> 64)
>        at
> com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:
> 214)
>        at com.google.gwt.dev.util.xml.ReflectiveParser
> $Impl.startElement(ReflectiveParser.java:270)
>        at
>
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
> Source)
>        at
>
> com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown
> Source)
>        at
>
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
> Source)
> .... (Continues)
>
>
> I've been looking all over for what might cause this behavior. Any
> ideas? Any help would be greatly appreciated.
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "gwt-log" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<gwt-log%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/gwt-log?hl=en.
>
>


-- 
Fred Sauer
Developer Advocate
Google Inc.
1600 Amphitheatre Parkway
Mountain View, CA 94043
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"gwt-log" 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/gwt-log?hl=en.

Reply via email to